Refactor member page (#3)

* refactor: member page

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip
This commit is contained in:
bggRGjQaUbCoE
2024-10-17 11:18:59 +08:00
committed by GitHub
parent 270bf0a4b6
commit f77088b870
205 changed files with 70072 additions and 119 deletions

View File

@@ -0,0 +1,29 @@
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'badge.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
Badge _$BadgeFromJson(Map<String, dynamic> json) => Badge(
text: json['text'] as String?,
textColor: json['text_color'] as String?,
textColorNight: json['text_color_night'] as String?,
bgColor: json['bg_color'] as String?,
bgColorNight: json['bg_color_night'] as String?,
borderColor: json['border_color'] as String?,
borderColorNight: json['border_color_night'] as String?,
bgStyle: (json['bg_style'] as num?)?.toInt(),
);
Map<String, dynamic> _$BadgeToJson(Badge instance) => <String, dynamic>{
'text': instance.text,
'text_color': instance.textColor,
'text_color_night': instance.textColorNight,
'bg_color': instance.bgColor,
'bg_color_night': instance.bgColorNight,
'border_color': instance.borderColor,
'border_color_night': instance.borderColorNight,
'bg_style': instance.bgStyle,
};