12345678910111213141516171819 |
- class MyPostsState {
- int activeTabIdx = 0;
- List<Map<String, dynamic>>? tabsList;
- MyPostsState({
- this.activeTabIdx = 0,
- this.tabsList,
- });
- MyPostsState copyWith({
- int? activeTabIdx,
- List<Map<String, dynamic>>? tabsList,
- }) {
- return MyPostsState(
- activeTabIdx: activeTabIdx ?? this.activeTabIdx,
- tabsList: tabsList ?? this.tabsList,
- );
- }
- }
|