ExpandableFab constructor
const
ExpandableFab({
- Key? key,
- bool? initialOpen,
- required double distance,
- required List<
Widget> children, - required Widget bigButton,
- Duration animationDuration = const Duration(milliseconds: 250),
- Curve curve = Curves.fastOutSlowIn,
- Curve reverseCurve = Curves.easeOutQuad,
- bool enableHapticFeedback = true,
- bool expandTowardsLeft = true,
- bool expandDownwards = false,
- ValueChanged<
bool> ? onOpenChanged, - 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,
});