MenuPositionAndSizeComponent class

Defines a MenuPositionAndSize builder for the menu.

Example

MenuPositionAndSizeComponent(
  builder: (MenuPositionAndSizeComponentData data)
  {
    return MenuPositionAndSize(
      positionOffset: Offset(0.0,data.buttonPositionAndSize.size.height),
      constraints: data.constraints,
    );
  }
);

See ComponentsConfiguration for more details.

See Also:

Implementers

Properties

builder MenuPositionAndSizeBuilder?
Must not be null.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

build(MenuPositionAndSizeComponentData data) MenuPositionAndSize
The method uses the MenuPositionAndSizeComponent.builder method to actually build the Widget.
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