DraggableFloatWidgetBaseConfig class
The base config of DraggableFloatWidget.
Constructors
- 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})
-
const
Properties
- animDuration → Duration
-
The length of time this animation should last.
final
- appBarHeight → double
-
The height of AppBar.
The default value is kToolbarHeight.
final
- borderBottom → double
-
The distance from the bottom side of the component to the boundary.
final
- borderLeft → double
-
The distance from the left side of the component to the boundary.
final
- borderRight → double
-
The distance from the right side of the component to the boundary.
final
- borderTop → double
-
The distance from the top side of the component to the boundary.
final
- borderTopContainTopBar → bool
-
Whether borderTop contains the height of all Bars at the top.
The default value is false.
final
- debug → bool
-
Whether to debug mode.
final
- delayShowDuration → Duration
-
The length of time this delay display timer.
final
- exposedPartWidthWhenHidden → double
-
The width of the exposed part when the component is hidden.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- initPositionXInLeft → bool
-
Whether the initial position of the component on the x-axis is on the
left side of the screen.
final
- initPositionYInTop → bool
-
Whether the initial position of the component on the y-axis is on the
top side of the screen.
final
- initPositionYMarginBorder → double
-
The distance between the initial position of the component on the y-axis.
The default value is zero.
final
- isFullScreen → bool
-
Whether full screen.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited