Override class
A class that represents a node override.
Constructors
-
Override(String node, {BuilderFunction? builder, String? component, List<
NodeProperty> ? props, Color? color, String? image, String? text, dynamic dropdownValue, List<DropdownMenuItem> ? dropdownItems, IconData? icon, Widget? child, List<Widget> ? children}) - Creates a node override.
Properties
- builder → BuilderFunction?
-
final
- component → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → ID
-
final
- node → String
-
final
-
properties
→ List<
NodeProperty> -
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited
Methods
-
copyWith(
{String? node, String? component, List< NodeProperty> ? properties, BuilderFunction? builder}) → Override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setChild(
Widget child) → void -
setChildren(
List< Widget> children) → void -
setColor(
Color? color) → void -
setDropdownItems(
List< DropdownMenuItem> ? dropdownItems) → void -
setDropdownValue(
dynamic data) → void -
setIcon(
IconData data) → void -
setImage(
String data) → void -
setText(
String data) → void -
toJson(
) → Map< String, dynamic> -
toString(
) → String - A string representation of this object.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited