photo_view 0.8.1 photo_view: ^0.8.1 copied to clipboard
Photo View provides a gesture sensitive zoomable widget. Photo View is largely used to show interacive images and other stuff such as SVG.
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()
*/