Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion lib/src/colorpicker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,7 @@ class HueRingPicker extends StatefulWidget {
this.hueRingStrokeWidth = 20.0,
this.enableAlpha = false,
this.displayThumbColor = true,
this.disableTextInput = false,
this.pickerAreaBorderRadius = const BorderRadius.all(Radius.zero),
}) : super(key: key);

Expand All @@ -663,6 +664,8 @@ class HueRingPicker extends StatefulWidget {
final double hueRingStrokeWidth;
final bool enableAlpha;
final bool displayThumbColor;
/// Disables the ability to manually edit the ColorPicker TextInput Field
final bool disableTextInput;
final BorderRadius pickerAreaBorderRadius;

@override
Expand Down Expand Up @@ -746,6 +749,7 @@ class _HueRingPickerState extends State<HueRingPicker> {
},
enableAlpha: widget.enableAlpha,
embeddedText: true,
disable: widget.disableTextInput,
),
),
),
Expand Down Expand Up @@ -790,7 +794,7 @@ class _HueRingPickerState extends State<HueRingPicker> {
},
enableAlpha: widget.enableAlpha,
embeddedText: true,
disable: true,
disable: widget.disableTextInput,
),
if (widget.enableAlpha) const SizedBox(height: 5),
if (widget.enableAlpha)
Expand Down