Move media_view to pages, cuz it has a scaffold
This commit is contained in:
parent
e4e7f1d9a1
commit
689b4c41cc
|
@ -5,12 +5,12 @@ import 'package:flutter/services.dart';
|
|||
import 'package:flutter_hooks/flutter_hooks.dart';
|
||||
import 'package:photo_view/photo_view.dart';
|
||||
|
||||
import 'bottom_modal.dart';
|
||||
import '../widgets/bottom_modal.dart';
|
||||
|
||||
class MediaView extends HookWidget {
|
||||
class MediaViewPage extends HookWidget {
|
||||
final String url;
|
||||
|
||||
const MediaView(this.url);
|
||||
const MediaViewPage(this.url);
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
Loading…
Reference in New Issue