useMaterial3 property in MaterialApp.router
shahmirzali49 opened this issue · comments
Shahmirzali commented
Milad Akarie commented
@Shahmirzali-Huseynov this has nothing to do with this package I believe.
Shahmirzali commented
@Milad-Akarie why? We are using MaterialApp.router
instead of MaterialApp
. In MaterialApp have the useMaterial3 property, but not in MaterialApp.router.
Milad Akarie commented
Pass it to theme
Theme.light().copyWith(useMaterial3: true)
Shahmirzali commented
@Milad-Akarie thanks