Skip to content

Commit

Permalink
Merge pull request #86 from vicolo-dev/enhancement-improve-color-picker
Browse files Browse the repository at this point in the history
Improve Color picker UX
  • Loading branch information
AhsanSarwar45 authored Dec 21, 2023
2 parents c540b11 + 335b8d4 commit ede6be5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/common/widgets/fields/color_bottom_sheet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ class _ColorBottomSheetState extends State<ColorBottomSheet> {
),
// const SizedBox(height: 16.0),
ColorPicker(
wheelDiameter: MediaQuery.of(context).size.width - 8,
color: _color,
onColorChanged: (Color color) => setState(() {
_color = color;
Expand All @@ -98,7 +99,7 @@ class _ColorBottomSheetState extends State<ColorBottomSheet> {
ColorPickerType.wheel: true,
},
enableShadesSelection: true,
subheading: Text('Select color shade',
subheading: Text('Shade',
style: textTheme.titleSmall
?.copyWith(color: colorScheme.onSurface)),
showColorCode: true,
Expand Down

0 comments on commit ede6be5

Please sign in to comment.