flutter_image_crop_plugin 2.0.4 copy "flutter_image_crop_plugin: ^2.0.4" to clipboard
flutter_image_crop_plugin: ^2.0.4 copied to clipboard

A flutter plugin contain take photo, pick photo from the album and crop image. Easy to use. Take photo can switch front and back camera.

example/lib/main.dart

/*
 * @Author: your name
 * @Date: 2019-12-05 17:12:48
 * @LastEditTime: 2019-12-11 10:21:00
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /flutter_image_crop_plugin/example/lib/main.dart
 */

import 'package:flutter/material.dart';
import 'package:flutter_image_crop_plugin_example/target_page.dart';

void main() => runApp(
  MaterialApp(
    home: MyApp(),
    debugShowCheckedModeBanner: false,
  )
);

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {

  

  @override
  void initState() {
    super.initState();

    
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Plugin example app'),
      ),
      body: Center(
        child: RaisedButton(
          child: Text('Push'),
          onPressed: () {
            Navigator.of(context).push(
              MaterialPageRoute(
                builder: (context) {
                  return TargetPage();
                }
              )
            );
          },
        ),
      ),
    );
  }
}
7
likes
40
points
51
downloads

Publisher

unverified uploader

Weekly Downloads

A flutter plugin contain take photo, pick photo from the album and crop image. Easy to use. Take photo can switch front and back camera.

Repository (GitHub)

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_image_crop_plugin