onPress property
Future callback invoked when pressing the button required in all button types
Implementation
final Future<T> Function() onPress;
Future callback invoked when pressing the button required in all button types
final Future<T> Function() onPress;