iosUsesMaterialWidgets property
Adds a Material widget to CupertinoScaffold
, CupertinoTabScaffold and
CupertinoAlertDialog to allow for Material widgets to be used. This is required
when using a PlatformApp since some Material widgets will expect a Material parent,
otherwise an exception is thrown.
Note: This may affect fonts and colors and dark mode may not work in all cases.
Note: This may cause widgets to show a ripple effect where as before 1.6.0 it did not
Implementation
final bool iosUsesMaterialWidgets;