photo_view 0.0.7 copy "photo_view: ^0.0.7" to clipboard
photo_view: ^0.0.7 copied to clipboard

outdated

A simple zoomable image widget for Flutter.

example/lib/main.dart

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