fromJson method
Implementation
@override
TabBarTheme? fromJson(Map<String, dynamic>? json) {
if (json == null) return null;
return TabBarTheme(
// @unencodable
// indicator
indicatorSize: const NullableTabBarIndicatorSizeConverter().fromJson(
json['indicatorSize'],
),
labelPadding: const NullableEdgeInsetsGeometryConverter().fromJson(
json['labelPadding'],
),
labelColor: const NullableColorConverter().fromJson(
json['labelColor'],
),
labelStyle: const NullableTextStyleConverter().fromJson(
json['labelStyle'],
),
unselectedLabelColor: const NullableColorConverter().fromJson(
json['unselectedLabelColor'],
),
unselectedLabelStyle: const NullableTextStyleConverter().fromJson(
json['unselectedLabelStyle'],
),
);
}