From 4772290dd92412faa821f5324ce631d4331404c5 Mon Sep 17 00:00:00 2001 From: Elias Projahn Date: Mon, 2 Dec 2019 21:58:13 +0100 Subject: [PATCH] Theme sliders Sliders can be themed using the colorScheme field. Unfortunately this is a little bit inconsistent across different widgets. --- lib/app.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/app.dart b/lib/app.dart index 5ee2e62..bb11b5f 100644 --- a/lib/app.dart +++ b/lib/app.dart @@ -45,6 +45,10 @@ class _AppState extends State 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