Skip to content

SliverChildBuilderDelegate null childCount can cause hanging hot reload, white screen #102904

@al4nnw

Description

@al4nnw

I was creating a new project to study more about slivers and custom scroll experiences, and them when I ran my project, nothing but a white screen showed up. So I tried changing colors of stuff, since there was no errors on console. But then my app froze on Hot Reload.

Then I looked through my code and remembered that I've faced the same issue months ago. When I passed 0 as a value to childCount and rebuilt my app, everything worked fine.

Steps to Reproduce

  1. Execute flutter run on the code sample

Expected results:
SliverAppBar appearing.

Actual results:
White screen and the app get stuck once I try to hot reload.

Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: Home(),
    );
  }
}

class Home extends StatelessWidget {
  const Home({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
          title: const Text("Normal AppBar"),
          backgroundColor: Colors.green,
        ),
        body: CustomScrollView(
          slivers: [
            const SliverAppBar(
              title: Text(
                "SliverAppBar",
              ),
              backgroundColor: Colors.red,
              pinned: true,
            ),
            SliverList(delegate: SliverChildBuilderDelegate(((context, index) => Container())))
          ],
        ));
  }
}
Logs

Run flutter run --verbose

[  +88 ms] executing: [H:\flutter/] git -c log.showSignature=false log -n 1
--pretty=format:%H
[ +616 ms] Exit code 0 from: git -c log.showSignature=false log -n 1
--pretty=format:%H
[   +1 ms] 5464c5bac742001448fe4fc0597be939379f88ea    
[   +1 ms] executing: [H:\flutter/] git tag --points-at
5464c5bac742001448fe4fc0597be939379f88ea
[  +61 ms] Exit code 0 from: git tag --points-at
5464c5bac742001448fe4fc0597be939379f88ea        
[        ] 2.10.5
[   +9 ms] executing: [H:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +36 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [H:\flutter/] git ls-remote --get-url origin
[  +41 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +131 ms] executing: [H:\flutter/] git rev-parse --abbrev-ref HEAD
[  +39 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +74 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required,
skipping update.
[   +1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required,
skipping update.
[   +3 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping   
update.
[   +1 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.[   +5 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required,        
skipping update.
[   +1 ms] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required,     
skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping 
update.
[   +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping 
update.
[   +9 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required,
skipping update.
[   +2 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required,      
skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required,     
skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required,     
skipping update.
[  +76 ms] executing:
C:\Users\Alan\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l        
[  +60 ms] List of devices attached
           emulator-5554          device product:sdk_gphone_x86
           model:sdk_gphone_x86 device:generic_x86_arm transport_id:2
[  +10 ms] C:\Users\Alan\AppData\Local\Android\sdk\platform-tools\adb.exe -s
emulator-5554 shell getprop
[  +58 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping
update.
[   +6 ms] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required,     
skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping 
update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping 
update.
[   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required,      
skipping update.
[   +1 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required,      
skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required,     
skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required,     
skipping update.
[ +155 ms] Skipping pub get: version match.
[  +91 ms] Generating
C:\Users\Alan\Desktop\codigos\todo_alan\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +118 ms] ro.hardware = ranchu
[  +21 ms] Using hardware rendering with device sdk gphone x86. If you notice
graphics
           artifacts, consider enabling software rendering with
           "--enable-software-rendering".
[  +33 ms] Initializing file store
[  +16 ms] Skipping target: gen_localizations
[  +11 ms] gen_dart_plugin_registrant: Starting due to
{InvalidatedReasonKind.inputChanged: The following inputs have updated contents: 
C:\Users\Alan\Desktop\codigos\todo_alan\.dart_tool\package_config_subset}        
[  +46 ms] gen_dart_plugin_registrant: Complete
[   +2 ms] Skipping target: _composite
[  +11 ms] complete
[  +16 ms] Launching lib\main.dart on sdk gphone x86 in debug mode...
[   +6 ms] H:\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
H:\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot  
--sdk-root H:\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/     
--incremental --target=flutter --debugger-module-names
--experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill  
C:\Users\Alan\AppData\Local\Temp\flutter_tools.44951a7d\flutter_tool.6ec47a0c\app.dill --packages
C:\Users\Alan\Desktop\codigos\todo_alan\.dart_tool\package_config.json
-Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts
--track-widget-creation --filesystem-scheme org-dartlang-root
--initialize-from-dill
build\c075001b96339384a97db4862b8ab8db.cache.dill.track.dill
--enable-experiment=alternative-invalidation-strategy
[  +15 ms] executing:
C:\Users\Alan\AppData\Local\Android\sdk\build-tools\32.1.0-rc1\aapt dump xmltree 
C:\Users\Alan\Desktop\codigos\todo_alan\build\app\outputs\flutter-apk\app.apk    
AndroidManifest.xml
[  +18 ms] Exit code 0 from:
C:\Users\Alan\AppData\Local\Android\sdk\build-tools\32.1.0-rc1\aapt dump xmltree 
C:\Users\Alan\Desktop\codigos\todo_alan\build\app\outputs\flutter-apk\app.apk    
AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1f
               A: android:compileSdkVersionCodename(0x01010573)="12" (Raw: "12") 
               A: package="com.example.todo_alan" (Raw: "com.example.todo_alan") 
               A: platformBuildVersionCode=(type 0x10)0x1f
               A: platformBuildVersionName=(type 0x10)0xc
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1f
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: 
                 "android.permission.INTERNET")
               E: application (line=16)
                 A: android:label(0x01010001)="todo_alan" (Raw: "todo_alan")     
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="android.app.Application" (Raw:     
                 "android.app.Application")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A:
                 android:appComponentFactory(0x0101057a)="androidx.core.app.CoreC                 omponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")                 E: activity (line=22)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A:
                   android:name(0x01010003)="com.example.todo_alan.MainActivity" 
                   (Raw: "com.example.todo_alan.MainActivity")
                   A: android:exported(0x01010010)=(type 0x12)0xffffffff
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4    
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10    
                   A: android:hardwareAccelerated(0x010102d3)=(type
                   0x12)0xffffffff
                   E: meta-data (line=37)
                     A:
                     android:name(0x01010003)="io.flutter.embedding.android.Norma                     lTheme" (Raw: "io.flutter.embedding.android.NormalTheme")   
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: intent-filter (line=41)
                     E: action (line=42)
                       A: android:name(0x01010003)="android.intent.action.MAIN"  
                       (Raw: "android.intent.action.MAIN")
                     E: category (line=44)
                       A:
                       android:name(0x01010003)="android.intent.category.LAUNCHER                       " (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=51)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw:
                   "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
                 E: uses-library (line=55)
                   A: android:name(0x01010003)="androidx.window.extensions" (Raw:                   "androidx.window.extensions")
                   A: android:required(0x0101028e)=(type 0x12)0x0
                 E: uses-library (line=58)
                   A: android:name(0x01010003)="androidx.window.sidecar" (Raw:   
                   "androidx.window.sidecar")
                   A: android:required(0x0101028e)=(type 0x12)0x0
[  +21 ms] executing:
C:\Users\Alan\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554  
shell -x logcat -v time -t 1
[  +20 ms] <- compile package:todo_alan/main.dart
[  +73 ms] --------- beginning of main
           05-01 21:16:47.654 E/wifi_forwarder(  421): RemoteConnection failed to           initialize: RemoteConnection failed to open pipe
[  +13 ms] executing:
C:\Users\Alan\AppData\Local\Android\sdk\platform-tools\adb.exe version
[  +67 ms] Android Debug Bridge version 1.0.41
           Version 33.0.1-8253317
           Installed as
           C:\Users\Alan\AppData\Local\Android\sdk\platform-tools\adb.exe        
[  +12 ms] executing:
C:\Users\Alan\AppData\Local\Android\sdk\platform-tools\adb.exe start-server      
[  +41 ms] Building APK
[  +31 ms] Running Gradle task 'assembleDebug'...
[   +8 ms] Using gradle from
C:\Users\Alan\Desktop\codigos\todo_alan\android\gradlew.bat.
[  +29 ms] executing: H:\Program Files\Android\Android Studio\jre\bin\java
-version
[ +175 ms] Exit code 0 from: H:\Program Files\Android\Android Studio\jre\bin\java-version
[        ] openjdk version "11.0.11" 2021-04-20
           OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
           OpenJDK 64-Bit Server VM (build 11.0.11+9-b60-7590822, mixed mode)    
[   +2 ms] executing: [C:\Users\Alan\Desktop\codigos\todo_alan\android/]
C:\Users\Alan\Desktop\codigos\todo_alan\android\gradlew.bat -Pverbose=true       
-Ptarget-platform=android-x86
-Ptarget=C:\Users\Alan\Desktop\codigos\todo_alan\lib\main.dart
-Pbase-application-name=android.app.Application
-Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false 
-Ptrack-widget-creation=true -Ptree-shake-icons=false
-Pfilesystem-scheme=org-dartlang-root assembleDebug
[+1121 ms] Welcome to Gradle 6.7!
[   +1 ms] Here are the highlights of this release:
[   +4 ms]  - File system watching is ready for production use
[  +14 ms]  - Declare the version of Java your build requires
[   +1 ms]  - Java 15 support
[   +1 ms] For more details see https://docs.gradle.org/6.7/release-notes.html   
[+2753 ms] > Task :app:compileFlutterBuildDebug
[   +1 ms] [  +78 ms] executing: [H:\flutter/] git -c log.showSignature=false log-n 1 --pretty=format:%H
[   +1 ms] [ +555 ms] Exit code 0 from: git -c log.showSignature=false log -n 1  
--pretty=format:%H
[   +3 ms] [        ] 5464c5bac742001448fe4fc0597be939379f88ea
[   +1 ms] [        ] executing: [H:\flutter/] git tag --points-at
5464c5bac742001448fe4fc0597be939379f88ea
[   +1 ms] [  +54 ms] Exit code 0 from: git tag --points-at
5464c5bac742001448fe4fc0597be939379f88ea
[   +1 ms] [        ] 2.10.5
[        ] [   +8 ms] executing: [H:\flutter/] git rev-parse --abbrev-ref        
--symbolic @{u}
[   +2 ms] [  +33 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic
@{u}
[   +2 ms] [        ] origin/stable
[        ] [        ] executing: [H:\flutter/] git ls-remote --get-url origin    
[   +1 ms] [  +34 ms] Exit code 0 from: git ls-remote --get-url origin
[   +2 ms] [        ] https://github.com/flutter/flutter.git
[   +1 ms] [  +57 ms] executing: [H:\flutter/] git rev-parse --abbrev-ref HEAD   
[   +1 ms] [  +32 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] stable
[        ] [  +62 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not  
required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is notrequired, skipping update.
[   +3 ms] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required,
skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterWebSdk' is not required,      
skipping update.
[   +1 ms] [   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not       
required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not    
required, skipping update.
[   +3 ms] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not
required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not
required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not
required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not     
required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not    
required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not    
required, skipping update.
[   +1 ms] [ +106 ms] Artifact Instance of 'MaterialFonts' is not required,      
skipping update.
[   +1 ms] [        ] Artifact Instance of 'GradleWrapper' is not required,      
skipping update.
[   +1 ms] [   +3 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is notrequired, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, 
skipping update.
[   +2 ms] [        ] Artifact Instance of 'FlutterWebSdk' is not required,      
skipping update.
[   +2 ms] [        ] Artifact Instance of 'FlutterSdk' is not required, skippingupdate.
[   +1 ms] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not
required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not    
required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not
required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not
required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not     
required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not     
required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not    
required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not    
required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required,    
skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required,    
skipping update.
[   +5 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required,
skipping update.
[   +1 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required,    
skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required,    
skipping update.
[   +1 ms] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required,skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required,    
skipping update.
[        ] [  +90 ms] Initializing file store
[        ] [  +16 ms] Done initializing file store
[        ] [  +43 ms] Skipping target: gen_localizations
[        ] [  +11 ms] Skipping target: gen_dart_plugin_registrant
[ +412 ms] [ +603 ms] kernel_snapshot: Starting due to
{InvalidatedReasonKind.inputChanged: The following inputs have updated contents: 
C:\Users\Alan\Desktop\codigos\todo_alan\lib\main.dart}
[ +109 ms] [  +12 ms] H:\flutter\bin\cache\dart-sdk\bin\dart.exe
--disable-dart-dev
H:\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot  
--sdk-root H:\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/     
--target=flutter --no-print-incremental-dependencies
-DFLUTTER_WEB_AUTO_DETECT=true -Ddart.vm.profile=false -Ddart.vm.product=false   
--enable-asserts --track-widget-creation --no-link-platform --packages
C:\Users\Alan\Desktop\codigos\todo_alan\.dart_tool\package_config.json
--output-dill
C:\Users\Alan\Desktop\codigos\todo_alan\.dart_tool\flutter_build\a9be24eeeb66944e3a1a79a52b7165e4\app.dill --depfile
C:\Users\Alan\Desktop\codigos\todo_alan\.dart_tool\flutter_build\a9be24eeeb66944e3a1a79a52b7165e4\kernel_snapshot.d package:todo_alan/main.dart
[+9287 ms] [+9359 ms] kernel_snapshot: Complete
[ +604 ms] [ +635 ms] debug_android_application: Starting due to
{InvalidatedReasonKind.inputChanged: The following inputs have updated contents: 
C:\Users\Alan\Desktop\codigos\todo_alan\.dart_tool\flutter_build\a9be24eeeb66944e3a1a79a52b7165e4\app.dill}
[ +294 ms] [ +221 ms] debug_android_application: Complete
[ +406 ms] [ +433 ms] Persisting file store
[   +1 ms] [   +7 ms] Done persisting file store
[   +1 ms] [   +4 ms] build succeeded.
[   +4 ms] [  +14 ms] "flutter assemble" took 11.589ms.
[ +195 ms] [ +175 ms] ensureAnalyticsSent: 170ms
[   +1 ms] [   +1 ms] Running shutdown hooks
[   +1 ms] [        ] Shutdown hooks complete
[   +1 ms] [        ] exiting with code 0
[ +205 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[   +1 ms] > Task :app:preBuild UP-TO-DATE
[   +2 ms] > Task :app:preDebugBuild UP-TO-DATE
[   +1 ms] > Task :app:compileDebugAidl NO-SOURCE
[   +5 ms] > Task :app:compileDebugRenderscript NO-SOURCE
[  +20 ms] > Task :app:generateDebugBuildConfig UP-TO-DATE
[  +67 ms] > Task :app:checkDebugAarMetadata UP-TO-DATE
[   +1 ms] > Task :app:cleanMergeDebugAssets
[  +38 ms] > Task :app:mergeDebugShaders UP-TO-DATE
[  +75 ms] > Task :app:compileDebugShaders NO-SOURCE
[  +89 ms] > Task :app:generateDebugAssets UP-TO-DATE
[  +82 ms] > Task :app:mergeDebugAssets
[ +498 ms] > Task :app:copyFlutterAssetsDebug
[   +1 ms] > Task :app:generateDebugResValues UP-TO-DATE
[  +13 ms] > Task :app:generateDebugResources UP-TO-DATE
[  +19 ms] > Task :app:mergeDebugResources UP-TO-DATE
[        ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[   +2 ms] > Task :app:extractDeepLinksDebug UP-TO-DATE
[  +84 ms] > Task :app:processDebugMainManifest UP-TO-DATE
[   +9 ms] > Task :app:processDebugManifest UP-TO-DATE
[        ] > Task :app:processDebugManifestForPackage UP-TO-DATE
[   +1 ms] > Task :app:processDebugResources UP-TO-DATE
[ +150 ms] > Task :app:compileDebugKotlin UP-TO-DATE
[ +146 ms] > Task :app:javaPreCompileDebug UP-TO-DATE
[  +81 ms] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[  +15 ms] > Task :app:compileDebugSources UP-TO-DATE
[   +5 ms] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
[   +2 ms] > Task :app:processDebugJavaRes NO-SOURCE
[   +1 ms] > Task :app:mergeDebugJavaResource UP-TO-DATE
[  +78 ms] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[   +1 ms] > Task :app:dexBuilderDebug UP-TO-DATE
[        ] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[        ] > Task :app:mergeExtDexDebug UP-TO-DATE
[        ] > Task :app:mergeDexDebug UP-TO-DATE
[        ] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[  +16 ms] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[   +1 ms] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[   +2 ms] > Task :app:validateSigningDebug UP-TO-DATE
[ +563 ms] > Task :app:compressDebugAssets
[ +888 ms] > Task :app:packageDebug
[ +194 ms] > Task :app:assembleDebug
[   +1 ms] Deprecated Gradle features were used in this build, making it
incompatible with Gradle 7.0.
[   +1 ms] Use '--warning-mode all' to show the individual deprecation warnings. 
[   +1 ms] See
https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[   +2 ms] BUILD SUCCESSFUL in 18s
[   +1 ms] 32 actionable tasks: 7 executed, 25 up-to-date
[ +528 ms] Running Gradle task 'assembleDebug'... (completed in 19,4s)
[ +106 ms] calculateSha: LocalDirectory:
'C:\Users\Alan\Desktop\codigos\todo_alan\build\app\outputs\flutter-apk'/app.apk  
[ +750 ms] √  Built build\app\outputs\flutter-apk\app-debug.apk.
[  +14 ms] executing:
C:\Users\Alan\AppData\Local\Android\sdk\build-tools\32.1.0-rc1\aapt dump xmltree 
C:\Users\Alan\Desktop\codigos\todo_alan\build\app\outputs\flutter-apk\app.apk    
AndroidManifest.xml
[  +29 ms] Exit code 0 from:
C:\Users\Alan\AppData\Local\Android\sdk\build-tools\32.1.0-rc1\aapt dump xmltree 
C:\Users\Alan\Desktop\codigos\todo_alan\build\app\outputs\flutter-apk\app.apk    
AndroidManifest.xml
[   +1 ms] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1f
               A: android:compileSdkVersionCodename(0x01010573)="12" (Raw: "12") 
               A: package="com.example.todo_alan" (Raw: "com.example.todo_alan") 
               A: platformBuildVersionCode=(type 0x10)0x1f
               A: platformBuildVersionName=(type 0x10)0xc
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1f
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: 
                 "android.permission.INTERNET")
               E: application (line=16)
                 A: android:label(0x01010001)="todo_alan" (Raw: "todo_alan")     
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="android.app.Application" (Raw:     
                 "android.app.Application")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A:
                 android:appComponentFactory(0x0101057a)="androidx.core.app.CoreC                 omponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")                 E: activity (line=22)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A:
                   android:name(0x01010003)="com.example.todo_alan.MainActivity" 
                   (Raw: "com.example.todo_alan.MainActivity")
                   A: android:exported(0x01010010)=(type 0x12)0xffffffff
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4    
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10    
                   A: android:hardwareAccelerated(0x010102d3)=(type
                   0x12)0xffffffff
                   E: meta-data (line=37)
                     A:
                     android:name(0x01010003)="io.flutter.embedding.android.Norma                     lTheme" (Raw: "io.flutter.embedding.android.NormalTheme")   
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: intent-filter (line=41)
                     E: action (line=42)
                       A: android:name(0x01010003)="android.intent.action.MAIN"  
                       (Raw: "android.intent.action.MAIN")
                     E: category (line=44)
                       A:
                       android:name(0x01010003)="android.intent.category.LAUNCHER                       " (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=51)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw:
                   "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
                 E: uses-library (line=55)
                   A: android:name(0x01010003)="androidx.window.extensions" (Raw:                   "androidx.window.extensions")
                   A: android:required(0x0101028e)=(type 0x12)0x0
                 E: uses-library (line=58)
                   A: android:name(0x01010003)="androidx.window.sidecar" (Raw:   
                   "androidx.window.sidecar")
                   A: android:required(0x0101028e)=(type 0x12)0x0
[   +8 ms] Stopping app 'app.apk' on sdk gphone x86.
[        ] executing:
C:\Users\Alan\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554  
shell am force-stop com.example.todo_alan
[  +69 ms] executing:
C:\Users\Alan\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554  
shell pm list packages com.example.todo_alan
[  +52 ms] package:com.example.todo_alan
[   +1 ms] executing:
C:\Users\Alan\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554  
shell cat /data/local/tmp/sky.com.example.todo_alan.sha1
[  +43 ms] 24e702f0ce85dede49163f6b2c6cda774d869fe4
[   +2 ms] Installing APK.
[   +1 ms] Installing build\app\outputs\flutter-apk\app.apk...
[        ] executing:
C:\Users\Alan\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554  
install -t -r
C:\Users\Alan\Desktop\codigos\todo_alan\build\app\outputs\flutter-apk\app.apk    
[ +948 ms] Performing Streamed Install
                    Success
[   +1 ms] Installing build\app\outputs\flutter-apk\app.apk... (completed in
949ms)
[   +2 ms] executing:
C:\Users\Alan\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554  
shell echo -n 4f407d6b7a02febc2980c54d284a90596dadfcee >
/data/local/tmp/sky.com.example.todo_alan.sha1
[  +83 ms] executing:
C:\Users\Alan\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554  
shell -x logcat -v time -t 1
[ +468 ms] --------- beginning of system
                    05-01 21:17:10.548 W/BroadcastQueue(  487): Background       
                    execution not allowed: receiving Intent {
                    act=android.intent.action.PACKAGE_REPLACED
                    dat=package:com.example.todo_alan flg=0x4000010 (has extras) 
                    } to com.google.android.ims/.receivers.RcsAutoStartReceiver  
[  +11 ms] executing:
C:\Users\Alan\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554  
shell am start -a android.intent.action.RUN -f 0x20000000 --ez
enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-pointstrue com.example.todo_alan/com.example.todo_alan.MainActivity
[ +151 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000
cmp=com.example.todo_alan/.MainActivity (has extras) }
[   +3 ms] Waiting for observatory port to be available...
[+1718 ms] Observatory URL on device: http://127.0.0.1:41213/T6geGsEjliU=/
[   +2 ms] executing:
C:\Users\Alan\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554  
forward tcp:0 tcp:41213
[  +32 ms] 53041
[        ] Forwarded host port 53041 to device port 41213 for Observatory        
[  +16 ms] Caching compiled dill
[  +34 ms] Connecting to service protocol: http://127.0.0.1:53041/T6geGsEjliU=/
[ +634 ms] Launching a Dart Developer Service (DDS) instance at
http://127.0.0.1:0, connecting to VM service at
http://127.0.0.1:53041/T6geGsEjliU=/.
[ +187 ms] DDS is listening at http://127.0.0.1:53044/1C-NkCqcaMU=/.
[  +81 ms] Successfully connected to service protocol:
http://127.0.0.1:53041/T6geGsEjliU=/
[ +100 ms] DevFS: Creating new filesystem on the device (null)
[  +70 ms] DevFS: Created new filesystem on the device
(file:///data/user/0/com.example.todo_alan/code_cache/todo_alanKEKVPU/todo_alan/)[   +3 ms] Updating assets
[  +98 ms] Syncing files to device sdk gphone x86...
[   +2 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +1 ms] Processing bundle.
[   +1 ms] <- recompile package:todo_alan/main.dart
afd75ebc-a629-43ff-b2c6-0dcb55ae9b4c
[   +1 ms] <- afd75ebc-a629-43ff-b2c6-0dcb55ae9b4c
[   +5 ms] Bundle processing done.
[ +127 ms] Updating files.
[   +6 ms] DevFS: Sync finished
[   +9 ms] Syncing files to device sdk gphone x86... (completed in 155ms)
[   +1 ms] Synced 0.0MB.
[  +13 ms] <- accept
[  +14 ms] Connected to _flutterView/0xef447990.
[   +5 ms] Flutter run key commands.
[   +8 ms] r Hot reload. 
[   +1 ms] R Hot restart.
[        ] h List all available interactive commands.
[        ] d Detach (terminate "flutter run" but leave application running).
[   +4 ms] c Clear the screen
[   +5 ms] q Quit (terminate the application on the device).
[   +2 ms]  Running with sound null safety 
[   +1 ms] An Observatory debugger and profiler on sdk gphone x86 is available   
at:
           http://127.0.0.1:53044/1C-NkCqcaMU=/
[+2158 ms] I/ample.todo_ala( 5820): Waiting for a blocking GC ProfileSaver
[  +22 ms] I/ample.todo_ala( 5820): WaitForGcToComplete blocked ProfileSaver on
RunEmptyCheckpoint for 24.301ms

Run flutter analyze

No issues found! (ran in 5.8s)

Run flutter doctor -v

[√] Flutter (Channel stable, 2.10.5, on Microsoft Windows [versão
    10.0.19042.1645], locale pt-BR)
    • Flutter version 2.10.5 at H:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5464c5bac7 (13 days ago), 2022-04-18 09:55:37 -0700     
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2

[√] Android toolchain - develop for Android devices (Android SDK version
    32.1.0-rc1)
    • Android SDK at C:\Users\Alan\AppData\Local\Android\sdk
    • Platform android-32, build-tools 32.1.0-rc1
    • Java binary at: H:\Program Files\Android\Android Studio\jre\bin\java       
    • Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)     
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.1.3)    
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community   
    • Visual Studio Community 2022 version 17.1.32328.378
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2021.1)
    • Android Studio at H:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)     

[√] Connected device (4 available)
    • sdk gphone x86 (mobile) • emulator-5554 • android-x86    • Android 11 (API 
      30) (emulator)
    • Windows (desktop)       • windows       • windows-x64    • Microsoft       
      Windows [versão 10.0.19042.1645]
    • Chrome (web)            • chrome        • web-javascript • Google Chrome
      100.0.4896.127
    • Edge (web)              • edge          • web-javascript • Microsoft Edge  
      101.0.1210.32

[√] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listf: scrollingViewports, list views, slivers, etc.found in release: 2.10Found to occur in 2.10found in release: 2.13Found to occur in 2.13frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions