ButtonBuilder typedef

ButtonBuilder = Widget Function(BuildContext context, VoidCallback onPressed, String text, {bool enabled})

Implementation

typedef ButtonBuilder = Widget Function(
  BuildContext context,
  VoidCallback onPressed,
  String text, {
  bool enabled,
});