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

outdated

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
0
pub points
0%
popularity

Publisher

unverified uploader

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)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_image_crop_plugin