mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
Update samples for Dart 3.0.0 (#1803)
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
# This file should be version controlled.
|
||||
|
||||
version:
|
||||
revision: f732038a8cf4562ce38a1d7debb30209ae3da896
|
||||
channel: beta
|
||||
revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
|
||||
channel: stable
|
||||
|
||||
project_type: app
|
||||
|
||||
@@ -13,26 +13,26 @@ project_type: app
|
||||
migration:
|
||||
platforms:
|
||||
- platform: root
|
||||
create_revision: f732038a8cf4562ce38a1d7debb30209ae3da896
|
||||
base_revision: f732038a8cf4562ce38a1d7debb30209ae3da896
|
||||
create_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
|
||||
base_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
|
||||
- platform: android
|
||||
create_revision: f732038a8cf4562ce38a1d7debb30209ae3da896
|
||||
base_revision: f732038a8cf4562ce38a1d7debb30209ae3da896
|
||||
create_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
|
||||
base_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
|
||||
- platform: ios
|
||||
create_revision: f732038a8cf4562ce38a1d7debb30209ae3da896
|
||||
base_revision: f732038a8cf4562ce38a1d7debb30209ae3da896
|
||||
create_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
|
||||
base_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
|
||||
- platform: linux
|
||||
create_revision: f732038a8cf4562ce38a1d7debb30209ae3da896
|
||||
base_revision: f732038a8cf4562ce38a1d7debb30209ae3da896
|
||||
create_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
|
||||
base_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
|
||||
- platform: macos
|
||||
create_revision: f732038a8cf4562ce38a1d7debb30209ae3da896
|
||||
base_revision: f732038a8cf4562ce38a1d7debb30209ae3da896
|
||||
create_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
|
||||
base_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
|
||||
- platform: web
|
||||
create_revision: f732038a8cf4562ce38a1d7debb30209ae3da896
|
||||
base_revision: f732038a8cf4562ce38a1d7debb30209ae3da896
|
||||
create_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
|
||||
base_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
|
||||
- platform: windows
|
||||
create_revision: f732038a8cf4562ce38a1d7debb30209ae3da896
|
||||
base_revision: f732038a8cf4562ce38a1d7debb30209ae3da896
|
||||
create_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
|
||||
base_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
|
||||
|
||||
# User provided section
|
||||
|
||||
|
||||
@@ -26,6 +26,7 @@ apply plugin: 'kotlin-android'
|
||||
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
|
||||
|
||||
android {
|
||||
namespace "dev.flutter.navigation_and_routing"
|
||||
compileSdkVersion flutter.compileSdkVersion
|
||||
ndkVersion flutter.ndkVersion
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="dev.flutter.navigation_and_routing">
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- The INTERNET permission is required for development. Specifically,
|
||||
the Flutter tool needs it to communicate with the running application
|
||||
to allow setting breakpoints, to provide hot reload, etc.
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="dev.flutter.navigation_and_routing">
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<application
|
||||
android:label="navigation_and_routing"
|
||||
android:name="${applicationName}"
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="dev.flutter.navigation_and_routing">
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- The INTERNET permission is required for development. Specifically,
|
||||
the Flutter tool needs it to communicate with the running application
|
||||
to allow setting breakpoints, to provide hot reload, etc.
|
||||
|
||||
@@ -26,6 +26,6 @@ subprojects {
|
||||
project.evaluationDependsOn(':app')
|
||||
}
|
||||
|
||||
task clean(type: Delete) {
|
||||
tasks.register("clean", Delete) {
|
||||
delete rootProject.buildDir
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ import FlutterMacOS
|
||||
|
||||
class MainFlutterWindow: NSWindow {
|
||||
override func awakeFromNib() {
|
||||
let flutterViewController = FlutterViewController.init()
|
||||
let flutterViewController = FlutterViewController()
|
||||
let windowFrame = self.frame
|
||||
self.contentViewController = flutterViewController
|
||||
self.setFrame(windowFrame, display: true)
|
||||
|
||||
@@ -4,7 +4,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
|
||||
version: 1.0.0+1
|
||||
|
||||
environment:
|
||||
sdk: ^3.0.0-0
|
||||
sdk: ^3.0.0
|
||||
|
||||
dependencies:
|
||||
adaptive_navigation: ^0.0.3
|
||||
|
||||
Reference in New Issue
Block a user