ButtonCallback typedef

ButtonCallback = Widget Function(void onPressed(), Widget child, BuildContext context)

Implementation

typedef ButtonCallback = Widget Function(
  void Function() onPressed,
  Widget child,
  BuildContext context,
);