SpaceBarButton constructor

const SpaceBarButton({
  1. Key? key,
  2. required void onPressed(),
  3. required Widget child,
  4. Color? color,
  5. EdgeInsetsGeometry padding = const EdgeInsets.all(0.0),
  6. bool enabled = true,
  7. bool pending = false,
})

Implementation

const SpaceBarButton({
  super.key,
  required this.onPressed,
  required this.child,
  this.color,
  this.padding = const EdgeInsets.all(0.0),
  this.enabled = true,
  this.pending = false,
});