NeoFab constructor
const
NeoFab({
- Key? key,
- bool expanded = false,
- String? text,
- IconData? icon,
- TextStyle? textStyle,
- Duration duration = const Duration(milliseconds: 200),
- VoidCallback? onPressed,
- Color? backgroundColor,
- Color? foregroundColor,
- Color shadowColor = Colors.black,
- Offset offset = const Offset(3, 3),
- double borderRadius = 8.0,
Implementation
const NeoFab({
super.key,
this.expanded = false,
this.text,
this.icon,
this.textStyle,
this.duration = const Duration(milliseconds: 200),
this.onPressed,
this.backgroundColor,
this.foregroundColor,
this.shadowColor = Colors.black,
this.offset = const Offset(3, 3),
this.borderRadius = 8.0,
});