fromJson method
Load the attributes of the widget descriptor from
Implementation
@override
SDUIWidget fromJson(Map<String, dynamic>? json) {
flex = json?["flex"] ?? 1;
fit = json?["fit"] ?? 'tight';
return this;
}
Load the attributes of the widget descriptor from
@override
SDUIWidget fromJson(Map<String, dynamic>? json) {
flex = json?["flex"] ?? 1;
fit = json?["fit"] ?? 'tight';
return this;
}