photo_view 0.1.1 photo_view: ^0.1.1 copied to clipboard
Photo View provides a gesture sensitive zoomable widget. PhotoView is largely used to show interacive images.
import 'package:flutter/material.dart';
import './screens/home_screen.dart';
void main() => runApp(MyApp());
ThemeData theme = ThemeData(
primaryColor: Colors.black,
backgroundColor: Colors.white10,
fontFamily: 'PTSans',
);
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Photo View',
theme: theme,
home: Scaffold(
body: HomeScreen(),
),
);
}
}
/*
PhotoView.FullScreen()
*/