FloatingOverlay constructor

const FloatingOverlay({
  1. Key? key,
  2. Widget? child,
  3. FloatingOverlayController? controller,
  4. Widget? floatingChild,
  5. 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);