legacyIosUsesMaterialWidgets property Null safety

bool legacyIosUsesMaterialWidgets

Adds a Material widget to CupertinoScaffold and CupertinoTabScaffold 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: legacyIosUsesMaterialWidgets places the Material widget above the CupertinoScaffold and CupertinoTabScaffold widgets matching the behavour before v1.6.0


final bool legacyIosUsesMaterialWidgets;