NeoFab constructor

const NeoFab({
  1. Key? key,
  2. bool expanded = false,
  3. String? text,
  4. IconData? icon,
  5. TextStyle? textStyle,
  6. Duration duration = const Duration(milliseconds: 200),
  7. VoidCallback? onPressed,
  8. Color? backgroundColor,
  9. Color? foregroundColor,
  10. Color shadowColor = Colors.black,
  11. Offset offset = const Offset(3, 3),
  12. 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,
});