DraggableFloatWidgetBaseConfig constructor

const DraggableFloatWidgetBaseConfig({
  1. bool isFullScreen = true,
  2. double appBarHeight = kToolbarHeight,
  3. bool initPositionXInLeft = true,
  4. bool initPositionYInTop = true,
  5. double initPositionYMarginBorder = 0,
  6. double borderLeft = defaultBorderWidth,
  7. double borderRight = defaultBorderWidth,
  8. double borderTop = defaultBorderWidth,
  9. bool borderTopContainTopBar = false,
  10. double borderBottom = defaultBorderWidth,
  11. double exposedPartWidthWhenHidden = defaultExposedPartWidthWhenHidden,
  12. Duration animDuration = const Duration(milliseconds: 300),
  13. Duration delayShowDuration = const Duration(milliseconds: 500),
  14. 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,
});