mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-03-12 01:34:10 +00:00
Add adaptive density
This commit is contained in:
parent
5ca58a0cd3
commit
c8581e65aa
1 changed files with 1 additions and 0 deletions
|
@ -60,6 +60,7 @@ abstract class AppThemeFactory {
|
||||||
final Typography appTypography = Typography.material2021();
|
final Typography appTypography = Typography.material2021();
|
||||||
|
|
||||||
final ThemeData materialThemeData = ThemeData(
|
final ThemeData materialThemeData = ThemeData(
|
||||||
|
visualDensity: VisualDensity.adaptivePlatformDensity,
|
||||||
colorScheme: colorScheme,
|
colorScheme: colorScheme,
|
||||||
brightness: colorScheme.brightness,
|
brightness: colorScheme.brightness,
|
||||||
typography: appTypography,
|
typography: appTypography,
|
||||||
|
|
Loading…
Add table
Reference in a new issue