photo_view_plus 1.1.1
photo_view_plus: ^1.1.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.
example/lib/main.dart
import 'package:flutter/material.dart';
import './screens/home_screen.dart';
void main() => runApp(const MyApp());
final ThemeData theme = ThemeData(
primaryColor: Colors.black,
scaffoldBackgroundColor: Colors.white10,
fontFamily: 'PTSans',
);
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Photo View Example App',
theme: theme,
home: const Scaffold(
body: HomeScreen(),
),
);
}
}