Unverified Commit bbc1614a authored by Abhishek Ghaskata's avatar Abhishek Ghaskata Committed by GitHub

Document that a CupertinoApp isn't necessary for an iOS app (#75549)

parent 99b9ec8d
......@@ -37,6 +37,11 @@ import 'theme.dart';
/// This widget also configures the observer of the top-level [Navigator] (if
/// any) to perform [Hero] animations.
///
/// The [CupertinoApp] widget isn't a required ancestor for other Cupertino
/// widgets, but many Cupertino widgets could depend on the [CupertinoTheme]
/// widget, which the [CupertinoApp] composes. If you use Material widgets, a
/// [MaterialApp] also creates the needed dependencies for Cupertino widgets.
///
/// Use this widget with caution on Android since it may produce behaviors
/// Android users are not expecting such as:
///
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment