MiuixFloatingActionButton constructor
const
MiuixFloatingActionButton({
- Key? key,
- required VoidCallback? onPressed,
- required Widget child,
- bool enabled = true,
- ShapeBorder shape = MiuixFloatingActionButtonDefaults.shape,
- Color? containerColor,
- double shadowElevation = MiuixFloatingActionButtonDefaults.shadowElevation,
- double minWidth = MiuixFloatingActionButtonDefaults.minWidth,
- 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,
});