Last updated:
0 purchases
image selector widget
multiple image selector #
Introduction #
This project provides an amaizing user interface for selecting multiple image both from the gallery or the camera.
Example #
import 'package:image/image_selector.dart';
class _HomeState extends State<Home> {
List<File> imageList = List.of([]);
@override
Widget build(BuildContext context) {
return Container(
color: Colors.blue,
child: Center(
child: SizedBox(
height: 150.h,
child: ImageSelector(
onError: (e) {
// Show an alertdialog with the error
},
imageList: imageList,
))),
);
}
}
copied to clipboard
Getting started #
Run this command for installation
flutter pub add image_selector_widget
copied to clipboard
dependencies:
image_selector_widget: ^0.0.1
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.