FloatingWidget constructor

const FloatingWidget({
  1. Key? key,
  2. Widget? contentWidget,
  3. CloseAction? closeAction,
  4. List<Tuple3<String, Widget, ToolbarAction>>? toolbarActions,
  5. double minimalHeight = 130,
  6. OnFullScreenChnagedCallback? onFullScreenChanged,
})

Implementation

const FloatingWidget(
    {super.key,
    this.contentWidget,
    this.closeAction,
    this.toolbarActions,
    this.minimalHeight = 130, //稍微增加一点高度给圆角留空间
    this.onFullScreenChanged});