|
@@ -10,6 +10,7 @@ import 'package:widgets/my_load_image.dart';
|
|
|
import 'package:widgets/ext/ex_widget.dart';
|
|
|
import 'package:widgets/my_text_view.dart';
|
|
|
import 'package:widgets/my_appbar.dart';
|
|
|
+import 'package:widgets/utils/dark_theme_util.dart';
|
|
|
|
|
|
import '../community/community_vm.dart';
|
|
|
import 'my_following_vm.dart';
|
|
@@ -59,6 +60,7 @@ class MyFollowingTabs extends HookConsumerWidget {
|
|
|
Expanded(
|
|
|
child: Container(
|
|
|
alignment: Alignment.center,
|
|
|
+ // color: Colors.red,
|
|
|
child: Row(
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
children: [
|
|
@@ -67,7 +69,7 @@ class MyFollowingTabs extends HookConsumerWidget {
|
|
|
fontSize: 16,
|
|
|
textAlign: TextAlign.center,
|
|
|
isFontMedium: true,
|
|
|
- textColor: index == activeTabIdx ? Colors.white :ColorUtils.string2Color("#000000"),
|
|
|
+ textColor: DarkThemeUtil.multiColors(context, index == activeTabIdx ? Colors.white : Colors.black, darkColor: index == activeTabIdx ? AppColorsTheme.colorPrimary: Colors.white),
|
|
|
),
|
|
|
MyTextView(
|
|
|
// '(${activeTabCounter.toString()})',
|
|
@@ -75,7 +77,8 @@ class MyFollowingTabs extends HookConsumerWidget {
|
|
|
fontSize: 16,
|
|
|
textAlign: TextAlign.center,
|
|
|
isFontMedium: true,
|
|
|
- textColor: index == activeTabIdx ? Colors.white :ColorUtils.string2Color("#000000"),
|
|
|
+ textColor: DarkThemeUtil.multiColors(context, index == activeTabIdx ? Colors.white : Colors.black, darkColor: index == activeTabIdx ? AppColorsTheme.colorPrimary: Colors.white),
|
|
|
+
|
|
|
),
|
|
|
],
|
|
|
),
|