Change animated text main color to menu text color
This commit is contained in:
parent
3bda00a884
commit
5be602ec31
|
@ -68,13 +68,6 @@ class AppTheme {
|
|||
static var navigationHomeScreenBackgroundColor =
|
||||
UIColors.nearlyWhite; // TODO: no use?
|
||||
|
||||
static const animatedTextsColors = [
|
||||
Colors.black,
|
||||
Colors.blue,
|
||||
Colors.yellow,
|
||||
Colors.red,
|
||||
];
|
||||
|
||||
// Theme
|
||||
|
||||
static const sliderThemeData = SliderThemeData(
|
||||
|
|
|
@ -146,6 +146,17 @@ class _HomeDrawerState extends State<HomeDrawer> {
|
|||
},
|
||||
);
|
||||
|
||||
var animatedTextsColors = [
|
||||
Color(Config.drawerTextColor),
|
||||
Colors.black,
|
||||
Colors.blue,
|
||||
Colors.yellow,
|
||||
Colors.red,
|
||||
Color(Config.darkBackgroundColor),
|
||||
Color(Config.boardBackgroundColor),
|
||||
Color(Config.drawerHighlightItemColor),
|
||||
];
|
||||
|
||||
var animatedTextKit = AnimatedTextKit(
|
||||
animatedTexts: [
|
||||
ColorizeAnimatedText(
|
||||
|
@ -154,7 +165,7 @@ class _HomeDrawerState extends State<HomeDrawer> {
|
|||
fontSize: Config.fontSize + 16,
|
||||
fontWeight: FontWeight.w600,
|
||||
),
|
||||
colors: AppTheme.animatedTextsColors,
|
||||
colors: animatedTextsColors,
|
||||
textAlign: TextAlign.start,
|
||||
speed: const Duration(milliseconds: 3000),
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue