From ab3389beac0105bd938838bf5e801917c73205e2 Mon Sep 17 00:00:00 2001 From: fuwa Date: Tue, 9 Mar 2021 04:32:02 +0800 Subject: [PATCH] migrate flutter 2 --- lolnode/lib/config/lolnode.dart | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lolnode/lib/config/lolnode.dart b/lolnode/lib/config/lolnode.dart index 56e419c..5a34a8c 100644 --- a/lolnode/lib/config/lolnode.dart +++ b/lolnode/lib/config/lolnode.dart @@ -34,6 +34,11 @@ final _theme = ThemeData( cursorColor: crtGreen, backgroundColor: Colors.black, scaffoldBackgroundColor: Colors.black, + textSelectionTheme: TextSelectionThemeData( + cursorColor: crtGreen, + selectionColor: crtGreen, + selectionHandleColor: crtGreen, + ), textTheme: TextTheme( headline4: TextStyle( fontFamily: 'RobotoMono',