helpers/show_palette_picker library

Functions

showMaterialPalettePicker({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 Material palette selection of a color