Remove unused widget

This commit is contained in:
Vishnu Mohandas 2020-06-24 00:38:17 +05:30
parent 46ea30c4fd
commit 22bb3138ef

View file

@ -1,40 +0,0 @@
import 'package:flutter/material.dart';
import 'package:photos/core/configuration.dart';
class NetworkImageDetailPage extends StatelessWidget {
final String _path;
const NetworkImageDetailPage(this._path, {Key key}) : super(key: key);
@override
Widget build(Object context) {
return Scaffold(
appBar: AppBar(
actions: <Widget>[
// action button
IconButton(
icon: Icon(Icons.share),
onPressed: () {
// TODO
},
)
],
),
body: Center(
child: Container(
child: _buildContent(context),
),
),
);
}
Widget _buildContent(BuildContext context) {
return GestureDetector(
onVerticalDragUpdate: (details) {
Navigator.pop(context);
},
child:
Image.network(Configuration.instance.getHttpEndpoint() + "/" + _path),
);
}
}