DemoMenuItem class

Represents a menu item in the app menu.

Constructors

DemoMenuItem({required String name, ExampleBuilder? builder, bool? resizable, String? codeFile, Size? maxSize, bool? consoleEnabled, bool italic = false, int indentation = 1})
Builds a DemoMenuItem.

Properties

builder ExampleBuilder?
final
codeFile String?
final
consoleEnabled bool?
final
hashCode int
The hash code for this object.
no setterinherited
indentation int
final
italic bool
final
maxSize Size?
final
name String
final
resizable bool?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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