<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                [TOC] ## flutter create ``` flutter create projectName 用法: -template=type 指定不同的項目類型, -template=ap|/modul|/package|plugin|skeleton 指定平臺: -platforms=ios|android|windows|linux||macosweb -a: 指定android開發使用的語言,默認是kotlin -i: 指定ios使用的語言,默認是swit ``` 示例 創建一個module ``` flutter create --template=module --platforms=android,ios helloiMooc ``` 對已經存在的項目添加其他平臺 ``` flutter create . ``` ## flutter build 格式 ``` flutter build <subcommand> [arguments] Available subcommands: aar Build a repository containing an AAR and a POM file. apk Build an Android APK file from your app. appbundle Build an Android App Bundle file from your app. bundle Build the Flutter assets directory from your app. web Build a web application bundle. windows Build a Windows desktop application. ``` 示例 ``` flutter build web ``` ## flutter upgrade 升級 flutter sdk 等組件 ``` flutter upgrade [--force] ``` ## flutter devices ``` > flutter devices Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source! Found 4 connected devices: sdk gphone64 x86 64 (mobile) ? emulator-5554 ? android-x64 ? Android 15 (API 35) (emulator) Windows (desktop) ? windows ? windows-x64 ? Microsoft Windows [版本 10.0.19045.4529] Chrome (web) ? chrome ? web-javascript ? Google Chrome 126.0.6478.116 Edge (web) ? edge ? web-javascript ? Microsoft Edge 126.0.2592.87 ``` ## flutter pub ``` > flutter pub <subcommand> [arguments] cache 列出本地緩存的軟件包 deps 列出項目依賴項的詳細信息 downgrade Downgrade packages in a Flutter project. get Get the current package's dependencies. global Work with Pub global packages. login Log into pub.dev. logout Log out of pub.dev. outdated Analyze dependencies to find which ones can be upgraded. pub Pass the remaining arguments to Dart's "pub" tool. publish Publish the current package to pub.dartlang.org. remove Removes a dependency from the current package. run Run an executable from a package. test Run the "test" package. token Manage authentication tokens for hosted pub repositories. upgrade Upgrade the current package's dependencies to latest versions. uploader Manage uploaders for a package on pub.dev. version Print Pub version. ``` ## flutter test 格式 ``` flutter test [arguments] [files or directories] ``` 示例 ``` 運行所有單元測試:flutter test 運行所有集成測試:flutter test test_driver/*.dart 運行指定的測試文件:flutter test test/<filename>.dart 運行指定的測試套件:flutter test test/<filename>.dart -n <test-suite-name> 生成測試覆蓋率報告:flutter test --coverage 在特定的測試環境下運行測試:flutter test -c profile 隨機運行測試用例以避免順序偏差:flutter test --test-randomize-ordering-seed=random ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看