mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
Flutter 3.29 beta (#2571)
This commit is contained in:
@@ -25,7 +25,8 @@ class _DemoState extends State<Demo> {
|
||||
void initState() {
|
||||
DeviceInfoPlugin().iosInfo.then((info) {
|
||||
setState(() {
|
||||
deviceInfo = '${info.name} on ${info.systemName} version '
|
||||
deviceInfo =
|
||||
'${info.name} on ${info.systemName} version '
|
||||
'${info.systemVersion}';
|
||||
});
|
||||
});
|
||||
@@ -36,9 +37,7 @@ class _DemoState extends State<Demo> {
|
||||
Widget build(BuildContext context) {
|
||||
return CupertinoApp(
|
||||
home: CupertinoPageScaffold(
|
||||
navigationBar: const CupertinoNavigationBar(
|
||||
middle: Text('App Clip'),
|
||||
),
|
||||
navigationBar: const CupertinoNavigationBar(middle: Text('App Clip')),
|
||||
child: Center(
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
|
||||
@@ -6,7 +6,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
|
||||
version: 1.0.0+1
|
||||
|
||||
environment:
|
||||
sdk: ^3.5.0
|
||||
sdk: ^3.7.0-0
|
||||
|
||||
dependencies:
|
||||
flutter:
|
||||
|
||||
Reference in New Issue
Block a user