asset_photo_view 1.0.1 asset_photo_view: ^1.0.1 copied to clipboard
Photo View provides a gesture sensitive zoomable widget. Photo View is largely used to show interactive 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 Example App',
theme: theme,
home: Scaffold(
body: HomeScreen(),
),
);
}
}