ImageSelector constructor
const
ImageSelector({
- Key? key,
- required String leadText,
- required String emptyText,
- required dynamic onUpdateFileList(),
- Color iconColor = Colors.blue,
- double imageHeight = 80,
- String deleteTitle = 'Delete',
- String deleteCancel = 'Cancel',
- String deleteContent = 'Are you sure to delete picture?',
- required List<
String> imageFileList, - int imageLimit = 1,
Implementation
const ImageSelector({
Key? key,
required this.leadText,
required this.emptyText,
required this.onUpdateFileList,
this.iconColor = Colors.blue,
this.imageHeight = 80,
this.deleteTitle = 'Delete',
this.deleteCancel = 'Cancel',
this.deleteContent = 'Are you sure to delete picture?',
required this.imageFileList,
this.imageLimit = 1,
}) : super(key: key);