FloatingOverlay constructor
const
FloatingOverlay({
- Key? key,
- Widget? child,
- FloatingOverlayController? controller,
- Widget? floatingChild,
- RouteObserver<
Route> ? routeObserver,
Implementation
const FloatingOverlay({
Key? key,
/// The child underneath this widget inside the widget tree.
this.child,
/// Used to controll the visibility state of the [floatingChild].
this.controller,
/// Widget that will be floating around.
this.floatingChild,
/// When you push pages on top, the floating child will vanish and reappear
/// when you return if you give it an RouteObserver linked to the main
/// MaterialApp.
this.routeObserver,
}) : super(key: key);