28 Widget
build(BuildContext context) {
30 crossAxisAlignment: CrossAxisAlignment.start,
34 if (
icon != null) ...[
40 style: Theme.of(context).textTheme.titleSmall!.copyWith(
49 padding: EdgeInsets.only(top: 4.sp),
52 style: Theme.of(context).textTheme.bodySmall!.copyWith(
53 color: Colors.grey[600],
60 width:
double.infinity,
61 padding: EdgeInsets.symmetric(horizontal: 16.sp, vertical: 12.sp),
62 decoration: BoxDecoration(
64 borderRadius: BorderRadius.circular(12),
65 border: Border.all(
color: Colors.grey[200]!),
69 initialValue:
value.replaceAll(
' L',
''),
71 style: Theme.of(context).textTheme.bodySmall!.copyWith(
73 fontWeight: FontWeight.w500,
75 decoration: InputDecoration(
76 border: InputBorder.none,
77 contentPadding: EdgeInsets.zero,
80 FluentIcons.edit_12_regular,
86 if (onValueChanged != null) {
87 onValueChanged!(newValue);
93 style: Theme.of(context).textTheme.bodySmall!.copyWith(
98 isReference ? FontWeight.w600 : FontWeight.w500,
style Column(crossAxisAlignment:CrossAxisAlignment.end, children:[Container(padding:EdgeInsets.symmetric(horizontal:8.w, vertical:4.h), decoration:BoxDecoration(color:ColorPalette.tiffanyBlue.withValues(alpha:0.1), borderRadius:BorderRadius.circular(12),), child:Text(collection.type ?? '', style:Theme.of(context).textTheme.bodySmall?.copyWith(color:ColorPalette.tiffanyBlue, fontWeight:FontWeight.bold,),),),],)