mirror of
https://github.com/johrpan/musicus_mobile.git
synced 2025-10-26 10:47:25 +01:00
Theme sliders
Sliders can be themed using the colorScheme field. Unfortunately this is a little bit inconsistent across different widgets.
This commit is contained in:
parent
2beccd070a
commit
4772290dd9
1 changed files with 4 additions and 0 deletions
|
|
@ -45,6 +45,10 @@ class _AppState extends State<App> with SingleTickerProviderStateMixin {
|
|||
cursorColor: Colors.amber,
|
||||
textSelectionHandleColor: Colors.amber,
|
||||
toggleableActiveColor: Colors.amber,
|
||||
// Added for sliders. Not everything seems to obey this.
|
||||
colorScheme: ColorScheme.dark(
|
||||
primary: Colors.amber,
|
||||
),
|
||||
fontFamily: 'Libertinus Sans',
|
||||
),
|
||||
// The nested Navigator is for every screen from which the player bar at
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue