File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 1- library form_builder_extra_fields;
2-
31export 'package:dropdown_search/dropdown_search.dart' ;
42export 'package:flutter_rating_bar/flutter_rating_bar.dart' ;
53
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ extension on Color {
2323 }
2424
2525 return '${leadingHashSign ? '#' : '' }'
26- '${hexValue (alpha ) }${hexValue (red ) }${hexValue (green ) }${hexValue (blue )}' ;
26+ '${hexValue (a . toInt ()) }${hexValue (r . toInt ()) }${hexValue (g . toInt ()) }${hexValue (b . toInt () )}' ;
2727 }
2828}
2929
@@ -252,8 +252,6 @@ class FormBuilderColorPickerFieldState extends FormBuilderFieldDecorationState<
252252 onColorChanged: _colorChanged,
253253 availableColors: widget.availableColors,
254254 );
255- default :
256- throw 'Unknown ColorPickerType' ;
257255 }
258256 }
259257
You can’t perform that action at this time.
0 commit comments