ShowHideFAB constructor
const
ShowHideFAB({})
Creates a ShowHideFAB widget.
fab parameter must not be null. shouldShow parameter toggles the fab (true/false => show/hide).
Implementation
const ShowHideFAB({
Key? key,
required this.fab,
this.animationDuration = kThemeAnimationDuration,
this.showCurve = Curves.linear,
this.hideCurve = Curves.linear,
this.shouldShow = true,
}) : super(key: key);