Fluent2MenuSurface class
Fluent's menu panel round the rows a kit menu hands it (the menu bar's, the split button's): the first layer's fill at the medium corner, a stroke in dark, shadow16, 4 round the rows inside its 1 px stroke, between the menu's least and most widths and no taller than the overlay allows (it scrolls past that), fading in on the overlay's presence; one row current (Fluent2MenuLead: the keys lead when a key opened it). Plumbing of the components; pages never place one.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- Fluent2MenuSurface
Constructors
-
Fluent2MenuSurface({required DesignOverlayInfo info, required List<
Widget> items, Key? key}) -
A menu panel round
items.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- info → DesignOverlayInfo
-
Where the overlay stands and how much room it has.
final
-
items
→ List<
Widget> -
The menu's rows, in order.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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.
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