With Flutter 3.7 there is a import conflict that the variable kThemeAnimationDuration is defined in both PlatformApp and Theme.dart. I see no reason why we should define it ourselves and not use it from Theme.
Error:
Error: 'kThemeAnimationDuration' is imported from both 'package:flutter/src/material/theme.dart' and 'package:flutter_platform_widgets/src/platform_app.dart'.
Therefore, I removed the variable and used the identical one from Material.
With Flutter 3.7 there is a import conflict that the variable
kThemeAnimationDuration
is defined in bothPlatformApp
andTheme.dart
. I see no reason why we should define it ourselves and not use it from Theme.Error:
Error: 'kThemeAnimationDuration' is imported from both 'package:flutter/src/material/theme.dart' and 'package:flutter_platform_widgets/src/platform_app.dart'.
Therefore, I removed the variable and used the identical one from Material.