ModulaFAB constructor
const
ModulaFAB({
- required VoidCallback onPressed,
- Key? key,
- Widget? icon,
- String? label,
- bool isLoading = false,
- Color? backgroundColor,
- Color foregroundColor = Colors.white,
- double elevation = 6.0,
- double size = 56.0,
- BorderRadius borderRadius = const BorderRadius.all(Radius.circular(28)),
Implementation
const ModulaFAB({
required this.onPressed,
super.key,
this.icon,
this.label,
this.isLoading = false,
this.backgroundColor,
this.foregroundColor = Colors.white,
this.elevation = 6.0,
this.size = 56.0,
this.borderRadius = const BorderRadius.all(Radius.circular(28)),
});