关怀模式
This commit is contained in:
@@ -304,7 +304,8 @@ class _ActiveSearchPageState extends State<ActiveSearchPage>
|
||||
),
|
||||
),
|
||||
selected: _field.isEmpty,
|
||||
selectedColor: AppConstants.primaryColor,
|
||||
selectedColor:
|
||||
_themeController.currentThemeColor,
|
||||
backgroundColor: isDark
|
||||
? Colors.grey[800]
|
||||
: Colors.grey[200],
|
||||
@@ -327,7 +328,8 @@ class _ActiveSearchPageState extends State<ActiveSearchPage>
|
||||
),
|
||||
),
|
||||
selected: _field == 'name',
|
||||
selectedColor: AppConstants.primaryColor,
|
||||
selectedColor:
|
||||
_themeController.currentThemeColor,
|
||||
backgroundColor: isDark
|
||||
? Colors.grey[800]
|
||||
: Colors.grey[200],
|
||||
@@ -350,7 +352,8 @@ class _ActiveSearchPageState extends State<ActiveSearchPage>
|
||||
),
|
||||
),
|
||||
selected: _field == 'keywords',
|
||||
selectedColor: AppConstants.primaryColor,
|
||||
selectedColor:
|
||||
_themeController.currentThemeColor,
|
||||
backgroundColor: isDark
|
||||
? Colors.grey[800]
|
||||
: Colors.grey[200],
|
||||
@@ -373,7 +376,8 @@ class _ActiveSearchPageState extends State<ActiveSearchPage>
|
||||
),
|
||||
),
|
||||
selected: _field == 'introduce',
|
||||
selectedColor: AppConstants.primaryColor,
|
||||
selectedColor:
|
||||
_themeController.currentThemeColor,
|
||||
backgroundColor: isDark
|
||||
? Colors.grey[800]
|
||||
: Colors.grey[200],
|
||||
@@ -402,7 +406,7 @@ class _ActiveSearchPageState extends State<ActiveSearchPage>
|
||||
),
|
||||
Expanded(
|
||||
child: RefreshIndicator(
|
||||
color: AppConstants.primaryColor,
|
||||
color: _themeController.currentThemeColor,
|
||||
onRefresh: () async {
|
||||
await _runSearch(reset: true);
|
||||
},
|
||||
@@ -426,7 +430,7 @@ class _ActiveSearchPageState extends State<ActiveSearchPage>
|
||||
);
|
||||
}
|
||||
},
|
||||
backgroundColor: AppConstants.primaryColor,
|
||||
backgroundColor: _themeController.currentThemeColor,
|
||||
foregroundColor: Colors.white,
|
||||
tooltip: '返回上一页',
|
||||
child: const Icon(Icons.arrow_back),
|
||||
|
||||
Reference in New Issue
Block a user