Vishnu Mohandas 5 лет назад
Родитель
Сommit
22bb3138ef
1 измененных файлов с 0 добавлено и 40 удалено
  1. 0 40
      lib/ui/network_image_detail_page.dart

+ 0 - 40
lib/ui/network_image_detail_page.dart

@@ -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),
-    );
-  }
-}