FloatingMenuExpendable class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- FloatingMenuExpendable
Constructors
- FloatingMenuExpendable({Key? key, required FloatingMenuExpendableController controller, required double panelWidth, required double panelHeight, required Widget panelChild, required Widget handleChild, bool expandPanelFromHandle = false, Widget? handleOpenChild, FloatingMenuExpendableStyle style = const FloatingMenuExpendableStyle(), double handleWidth = 52, double handleHeight = 52, EdgeInsetsGeometry screenPadding = const EdgeInsetsDirectional.only(start: 12, top: 12, end: 12, bottom: 12), Offset initialPosition = const Offset(12, 150), Duration animationDuration = const Duration(milliseconds: 220), Curve animationCurve = Curves.easeOut, bool dockToStartInitially = true, FloatingMenuExpendableOpenMode openMode = FloatingMenuExpendableOpenMode.side})
-
const
Properties
- animationCurve → Curve
-
final
- animationDuration → Duration
-
final
- controller → FloatingMenuExpendableController
-
final
- dockToStartInitially → bool
-
هل يبدأ ملاصقًا لحافة البداية (start)؟
start = يسار في LTR، يمين في RTL.
final
- expandPanelFromHandle → bool
-
When true, the panel expands as part of the handle container
(a single unified widget), instead of being a separate sibling widget.
final
- handleChild → Widget
-
زر/مقبض اللوحة الذي يبقى دائمًا ظاهرًا.
final
- handleHeight → double
-
حجم زر/مقبض اللوحة.
final
- handleOpenChild → Widget?
-
Optional widget to show inside the handle while the panel is open.
If null, a default close icon is used.
final
- handleWidth → double
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialPosition → Offset
-
الموضع الابتدائي (Top-Left) قبل الدوك.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- openMode → FloatingMenuExpendableOpenMode
-
طريقة فتح اللوحة: جانبي (افتراضي) أو عمودي.
final
- panelChild → Widget
-
الويدجت التي تظهر داخل اللوحة عند الفتح.
final
- panelHeight → double
-
الارتفاع النهائي للمحتوى عند الفتح.
final
- panelWidth → double
-
العرض النهائي للمحتوى عند الفتح.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- screenPadding → EdgeInsetsGeometry
-
الهامش الأدنى عن حواف الشاشة.
final
- style → FloatingMenuExpendableStyle
-
Visual customization for the panel/handle/barrier.
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< FloatingMenuExpendable> -
Creates the mutable state for this widget at a given location in the tree.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited