MiuixFloatingActionButton constructor

const MiuixFloatingActionButton({
  1. Key? key,
  2. required VoidCallback? onPressed,
  3. required Widget child,
  4. bool enabled = true,
  5. ShapeBorder shape = MiuixFloatingActionButtonDefaults.shape,
  6. Color? containerColor,
  7. double shadowElevation = MiuixFloatingActionButtonDefaults.shadowElevation,
  8. double minWidth = MiuixFloatingActionButtonDefaults.minWidth,
  9. double minHeight = MiuixFloatingActionButtonDefaults.minHeight,
})

Implementation

const MiuixFloatingActionButton({
  super.key,
  required this.onPressed,
  required this.child,
  this.enabled = true,
  this.shape = MiuixFloatingActionButtonDefaults.shape,
  this.containerColor,
  this.shadowElevation = MiuixFloatingActionButtonDefaults.shadowElevation,
  this.minWidth = MiuixFloatingActionButtonDefaults.minWidth,
  this.minHeight = MiuixFloatingActionButtonDefaults.minHeight,
});