ExpandableFab constructor

const ExpandableFab({
  1. Key? key,
  2. bool? initialOpen,
  3. required double distance,
  4. required List<Widget> children,
  5. required Widget bigButton,
  6. Duration animationDuration = const Duration(milliseconds: 250),
  7. Curve curve = Curves.fastOutSlowIn,
  8. Curve reverseCurve = Curves.easeOutQuad,
  9. bool enableHapticFeedback = true,
  10. bool expandTowardsLeft = true,
  11. bool expandDownwards = false,
  12. ValueChanged<bool>? onOpenChanged,
  13. double fabSize = 48.0,
})

Implementation

const ExpandableFab({
  super.key,
  this.initialOpen,
  required this.distance,
  required this.children,
  required this.bigButton,
  this.animationDuration = const Duration(milliseconds: 250),
  this.curve = Curves.fastOutSlowIn,
  this.reverseCurve = Curves.easeOutQuad,
  this.enableHapticFeedback = true,
  this.expandTowardsLeft = true,
  this.expandDownwards = false,
  this.onOpenChanged,
  this.fabSize = 48.0,
});