mirror of
https://github.com/flutter/flutter
synced 2024-10-13 03:32:55 +00:00
Document that a CupertinoApp isn't necessary for an iOS app (#75549)
This commit is contained in:
parent
99b9ec8d40
commit
bbc1614aa9
|
@ -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:
|
||||
///
|
||||
|
|
Loading…
Reference in a new issue