PickColor typedef

PickColor = Future<Color?> Function(BuildContext, String)

Signature of callbacks that return a Color picked from a palette built in a BuildContext with a String specifying the label of the null selection option

Implementation

typedef PickColor = Future<Color?> Function(BuildContext, String);