Remove unused widget
This commit is contained in:
parent
46ea30c4fd
commit
22bb3138ef
1 changed files with 0 additions and 40 deletions
|
@ -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),
|
||||
);
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue