DraggableFloatWidgetBaseConfig constructor
const
DraggableFloatWidgetBaseConfig({
- bool isFullScreen = true,
- double appBarHeight = kToolbarHeight,
- bool initPositionXInLeft = true,
- bool initPositionYInTop = true,
- double initPositionYMarginBorder = 0,
- double borderLeft = defaultBorderWidth,
- double borderRight = defaultBorderWidth,
- double borderTop = defaultBorderWidth,
- bool borderTopContainTopBar = false,
- double borderBottom = defaultBorderWidth,
- double exposedPartWidthWhenHidden = defaultExposedPartWidthWhenHidden,
- Duration animDuration = const Duration(milliseconds: 300),
- Duration delayShowDuration = const Duration(milliseconds: 500),
- bool debug = false,
Implementation
const DraggableFloatWidgetBaseConfig({
this.isFullScreen = true,
this.appBarHeight = kToolbarHeight,
this.initPositionXInLeft = true,
this.initPositionYInTop = true,
this.initPositionYMarginBorder = 0,
this.borderLeft = defaultBorderWidth,
this.borderRight = defaultBorderWidth,
this.borderTop = defaultBorderWidth,
this.borderTopContainTopBar = false,
this.borderBottom = defaultBorderWidth,
this.exposedPartWidthWhenHidden = defaultExposedPartWidthWhenHidden,
this.animDuration = const Duration(milliseconds: 300),
this.delayShowDuration = const Duration(milliseconds: 500),
this.debug = false,
});