NiceViewComponent class
A component definition within a view layout.
Constructors
-
NiceViewComponent({required String id, required NiceViewComponentType type, String? title, Map<
String, dynamic> config = const {}, List<NiceViewComponent> children = const [], int flex = 1}) -
NiceViewComponent.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
children
→ List<
NiceViewComponent> -
final
-
config
→ Map<
String, dynamic> -
final
- flex → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String?
-
final
- type → NiceViewComponentType
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited