refactor: Migrate deprecated member

This commit is contained in:
validcube 2024-07-13 17:32:34 +07:00
parent e9cee0abe2
commit c6f9e36f4b
No known key found for this signature in database
GPG key ID: DBA94253E1D3F267
5 changed files with 23 additions and 27 deletions

View file

@ -10,7 +10,7 @@ var lightCustomTheme = ThemeData(
useMaterial3: true,
colorScheme: lightCustomColorScheme,
navigationBarTheme: NavigationBarThemeData(
labelTextStyle: MaterialStateProperty.all(
labelTextStyle: WidgetStateProperty.all(
TextStyle(
color: lightCustomColorScheme.onSurface,
fontWeight: FontWeight.w500,
@ -31,7 +31,7 @@ var darkCustomTheme = ThemeData(
useMaterial3: true,
colorScheme: darkCustomColorScheme,
navigationBarTheme: NavigationBarThemeData(
labelTextStyle: MaterialStateProperty.all(
labelTextStyle: WidgetStateProperty.all(
TextStyle(
color: darkCustomColorScheme.onSurface,
fontWeight: FontWeight.w500,