CommandBarItem class abstract
An individual control displayed within a CommandBar. Sub-class this to build a new type of widget that appears inside of a command bar. It knows how to build an appropriate widget for the given CommandBarItemDisplayMode during build time.
- Mixed-in types
- Implementers
Constructors
- CommandBarItem({required Key? key})
-
const
Properties
Methods
-
build(
BuildContext context, CommandBarItemDisplayMode displayMode) → Widget - Builds the final widget for this display mode for this item. Sub-classes implement this to build the widget that is appropriate for the given display mode.
-
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
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited