493e950195
iOS and macOS no longer switch to the Cupertino host or Cupertino controls by target platform; they render the same Material UI as web and Android. Cupertino paths remain for an explicit cupertino: true host. Flutter's automatic platform behaviours (scroll physics, text selection, back-swipe transitions) are unchanged.
9 lines
464 B
Dart
9 lines
464 B
Dart
/// The app renders the same Material layout and design on every platform:
|
|
/// web, Android, iOS and macOS. The Cupertino host and controls remain
|
|
/// available only when a caller asks for them explicitly (`cupertino: true`);
|
|
/// they are never chosen from the target platform.
|
|
///
|
|
/// Flutter's automatic platform behaviours (scroll physics, text selection,
|
|
/// page transitions and back-swipe) still follow the target platform.
|
|
bool prefersCupertino() => false;
|