DuckSectionHeaderData class
Data model for a DuckSectionHeader component.
- Inheritance
-
- Object
- DuckComponent
- DuckSectionHeaderData
- Annotations
-
- @JsonSerializable.new()
Constructors
- DuckSectionHeaderData({required String title})
- Creates a DuckSectionHeaderData instance.
-
DuckSectionHeaderData.fromJson(Map<
String, dynamic> json) -
Creates a DuckSectionHeaderData instance from a JSON map.
factory
- DuckSectionHeaderData.mock()
-
Creates a mock DuckSectionHeaderData instance for testing purposes.
factory
Properties
Methods
-
buildWidget(
BuildContext context) → Widget -
Builds the widget for this component.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts this component to a JSON map.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- componentType → const String
- The component type identifier for DuckSectionHeader.