MultiImageBarWithPicker constructor
const
MultiImageBarWithPicker({
- 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,
创建多图片选择组件
@param leadText 顶部引导文字 @param emptyText 空状态提示文字 @param onUpdateFileList 图片列表更新回调 @param iconColor 操作按钮颜色(默认蓝色) @param imageHeight 图片显示高度(默认80) @param deleteTitle 删除确认对话框标题 @param deleteCancel 删除取消按钮文字 @param deleteContent 删除确认内容 @param imageFileList 初始图片路径列表
Implementation
const MultiImageBarWithPicker({
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,
}) : super(key: key);