FloatingActionButtonScreen constructor

const FloatingActionButtonScreen({
  1. Key? key,
  2. required List<FloatingButtonProps> childrenProps,
  3. EdgeInsetsGeometry? padding,
  4. ShapeBorder? shape,
  5. Color? mainButtonColor,
  6. bool isDismissible = false,
  7. Color? shadowColor,
  8. TextDirection direction = TextDirection.rtl,
  9. TextStyle? labelStyle,
  10. Duration duration = const Duration(milliseconds: 250),
  11. Widget? openIcon = const Icon(Icons.add, color: Colors.white),
  12. Widget? closeIcon = const Icon(Icons.close, color: Colors.white),
})

Implementation

const FloatingActionButtonScreen({
  super.key,
  required this.childrenProps,
  this.padding,
  this.shape,
  this.mainButtonColor,
  this.isDismissible = false,
  this.shadowColor,
  this.direction = TextDirection.rtl,
  this.labelStyle,
  // this.shadowCurve = Curves.linear,
  // this.buttonsCurve = Curves.linear,
  this.duration = const Duration(milliseconds: 250),
  this.openIcon = const Icon(Icons.add, color: Colors.white),
  this.closeIcon = const Icon(Icons.close, color: Colors.white),
});