Fluent2MenuRowFace class
A menu row's face, Fluent's MenuItem: 32 tall under a pointer and 44
under a finger, the check column when checks, the glyph 20 in the second ink,
the words in body1, secondary in the third ink at the end, a chevron
when submenu. Hover and press step the fill and turn the glyph brand; a
checked row in the check column stands out as the chosen option of an
open list does (the brand's fill, its pill, the check in the brand); a
face a behaviour drives by key draws its ring from ring with the focused
state. In an open menu it draws what the menu's lead shows
(Fluent2MenuLead: one current row), and the pointer moving over it
takes the focus there. The rows of the menu, the command palette and the
menu bar are this one face.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- Fluent2MenuRowFace
Constructors
Properties
- checked → bool
-
Ticked.
final
- checks → bool
-
Keep the check column, for a menu with something to tick.
final
- danger → bool
-
A loss: the danger ink.
final
- emphasis → bool
-
The words in body1 strong (an action sheet's way out).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData?
-
The glyph before the words.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- label → String
-
Its words.
final
- ring → bool
-
Draw the focus ring here, for a row the keyboard walks without a press.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondary → String?
-
The words at its end: a shortcut, a count.
final
-
states
→ Set<
WidgetState> -
The press's states.
final
-
Opens a menu of its own.
final
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
createElement(
) → StatelessElement -
Creates a StatelessElement to manage this widget's location in the tree.
inherited
-
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.
override
-
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