ButtonBuilder typedef

ButtonBuilder = Widget Function({required bool isPressed})

/////////////////////////////////////////////////////////////////////////////////////////////////

Implementation

typedef ButtonBuilder = Widget Function({
  /// True when the button is tapped-down.
  required bool isPressed,
});