FdcGridMainMenuButton class
Built-in toolbar item that exposes the grid main menu.
When a visible FdcGridMainMenuButton is present in a visible FdcGridToolbar, the grid hides the duplicate main menu from the header.
- Inheritance
-
- Object
- FdcGridItem
- FdcGridMainMenuButton
Constructors
- FdcGridMainMenuButton({String? id, bool visible = true, FdcGridItemPlacement placement = FdcGridItemPlacement.start, String? label, String tooltip = defaultTooltip})
-
Creates a FdcGridMainMenuButton.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String?
-
Optional stable identifier for locating or customizing this item.
finalinherited
- label → String?
-
Optional toolbar button label. When omitted, an icon-only button is shown.
final
- placement → FdcGridItemPlacement
-
Placement zone used by the host when arranging this item.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tooltip → String
-
Toolbar/main-menu tooltip.
final
- visible → bool
-
Whether this item participates in the host toolbar or status bar.
finalinherited
Methods
-
buildItem(
BuildContext context) → Widget -
Builds a host-independent item.
inherited
-
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.
override
Constants
- defaultTooltip → const String
- Default toolbar/main-menu tooltip.