asset_pickers 0.0.2 asset_pickers: ^0.0.2 copied to clipboard
Similar to WeChat style of resource selection, support a variety of picture, video combination selection, support compression, preview pictures and video.
import 'package:asset_pickers_example/home_page.dart';
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
void initState() {
super.initState();
}
@override
Widget build(BuildContext context) {
return MaterialApp(
home: HomePage(),
);
}
}