helpers/show_swatch_picker library

Functions

showMaterialSwatchPicker({required BuildContext context, String title = "Pick a color", required Color selectedColor, Color? headerColor, Color? headerTextColor, Color? backgroundColor, Color? buttonTextColor, String? confirmText, bool cancellable = true, String? cancelText, double? maxLongSide, double? maxShortSide, ValueChanged<Color>? onChanged, VoidCallback? onConfirmed, VoidCallback? onCancelled}) Future<Color?>
Allows selection of a color from swatches