flutter_image_crop_plugin 2.0.4

Flutter Android iOS

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();
                }
              )
            );
          },
        ),
      ),
    );
  }
}
5
likes
90
pub points
52%
popularity

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

Documentation

API reference

Uploader

lining201702@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_image_crop_plugin