|
|
|
|
@ -21,6 +21,7 @@ class MultiFilesPickerItem extends StatelessWidget {
|
|
|
|
|
final Function(File) onRemoveTap;
|
|
|
|
|
final VoidCallback? onRemove;
|
|
|
|
|
final bool showAsListView;
|
|
|
|
|
final String? documentType;
|
|
|
|
|
|
|
|
|
|
const MultiFilesPickerItem({
|
|
|
|
|
Key? key,
|
|
|
|
|
@ -28,6 +29,7 @@ class MultiFilesPickerItem extends StatelessWidget {
|
|
|
|
|
required this.enabled,
|
|
|
|
|
required this.onRemoveTap,
|
|
|
|
|
this.onRemove,
|
|
|
|
|
this.documentType,
|
|
|
|
|
this.showAsListView = false,
|
|
|
|
|
}) : super(key: key);
|
|
|
|
|
|
|
|
|
|
@ -82,7 +84,7 @@ class MultiFilesPickerItem extends StatelessWidget {
|
|
|
|
|
4.height,
|
|
|
|
|
RichText(
|
|
|
|
|
text: TextSpan(
|
|
|
|
|
text: 'Asset Guide | ',
|
|
|
|
|
text: documentType == null ? 'Asset Guide | ' : '$documentType | ',
|
|
|
|
|
style: AppTextStyles.bodyText.copyWith(color: AppColor.neutral120),
|
|
|
|
|
children: <TextSpan>[
|
|
|
|
|
TextSpan(
|
|
|
|
|
|