New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Different paddings in titlePading of FlexibleSpace #69017
Comments
Hi @LuisCampos97 |
flutter doctor -v[✓] Flutter (Channel beta, 1.22.0, on Linux, locale en_US.UTF-8)
• Flutter version 1.22.0 at /home/luis/snap/flutter/common/flutter
• Framework revision d408d302e2 (4 weeks ago), 2020-09-29 11:49:17 -0700
• Engine revision 5babba6c4d
• Dart version 2.10.0
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /home/luis/Android/Sdk
• Platform android-30, build-tools 30.0.2
• ANDROID_HOME = /home/luis/android-sdk-linux
• Java binary at: /home/luis/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[!] Android Studio
• Android Studio at /home/luis/android-studio
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
[✓] VS Code (version 1.50.1)
• VS Code at /usr/share/code
• Flutter extension version 3.15.1
[✓] Connected device (1 available)
• ONEPLUS A3010 (mobile) • 9415c0cf • android-arm64 • Android 9 (API 28)
! Doctor found issues in 1 category. Flutter verboselogs[ +112 ms] executing: [/home/luis/snap/flutter/common/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +31 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] d408d302e22179d598f467e11da5dd968dbdc9ec
[ ] executing: [/home/luis/snap/flutter/common/flutter/] git tag --points-at HEAD
[ +19 ms] Exit code 0 from: git tag --points-at HEAD
[ ] 1.22.0
1.22.0-12.3.pre
[ +9 ms] executing: [/home/luis/snap/flutter/common/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +6 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/beta
[ ] executing: [/home/luis/snap/flutter/common/flutter/] git ls-remote --get-url origin
[ +11 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ +59 ms] executing: [/home/luis/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD
[ +7 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] beta
[ +55 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] 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.
[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +13 ms] executing: /home/luis/Android/Sdk/platform-tools/adb devices -l
[ +37 ms] List of devices attached
9415c0cf device usb:3-2 product:OnePlus3 model:ONEPLUS_A3010 device:OnePlus3T transport_id:12
[ +7 ms] /home/luis/Android/Sdk/platform-tools/adb -s 9415c0cf shell getprop
[ +71 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[ +4 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] 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.
[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +292 ms] Generating /home/luis/work/fact/fact-mobile-app/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +19 ms] ro.hardware = qcom
[ +44 ms] Starting incremental build...
[ +2 ms] Initializing file store
[ +10 ms] Skipping target: gen_localizations
[ +8 ms] complete
[ +4 ms] Launching lib/main.dart on ONEPLUS A3010 in debug mode...
[ +5 ms] /home/luis/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev
/home/luis/snap/flutter/common/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root
/home/luis/snap/flutter/common/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter
--debugger-module-names --experimental-emit-debug-metadata -Ddart.developer.causal_async_stacks=true --output-dill
/tmp/flutter_tools.ARFPLF/flutter_tool.SQRRSR/app.dill --packages .packages -Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructio
ns --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build/cache.dill.track.dill
[ +13 ms] executing: /home/luis/Android/Sdk/build-tools/30.0.2/aapt dump xmltree
/home/luis/work/fact/fact-mobile-app/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[ +6 ms] Exit code 0 from: /home/luis/Android/Sdk/build-tools/30.0.2/aapt dump xmltree
/home/luis/work/fact/fact-mobile-app/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)0x1d
A: android:compileSdkVersionCodename(0x01010573)="10" (Raw: "10")
A: package="pt.fact.fact_mobile_app" (Raw: "pt.fact.fact_mobile_app")
A: platformBuildVersionCode=(type 0x10)0x1d
A: platformBuildVersionName=(type 0x10)0xa
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1d
E: uses-permission (line=14)
A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
E: application (line=22)
A: android:label(0x01010001)="fact_mobile_app" (Raw: "fact_mobile_app")
A: android:icon(0x01010002)=@0x7f080000
A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw:
"androidx.core.app.CoreComponentFactory")
E: activity (line=28)
A: android:theme(0x01010000)=@0x7f0a0000
A: android:name(0x01010003)="pt.fact.fact_mobile_app.MainActivity" (Raw: "pt.fact.fact_mobile_app.MainActivity")
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=42)
A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
A: android:resource(0x01010025)=@0x7f0a0001
E: meta-data (line=52)
A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw:
"io.flutter.embedding.android.SplashScreenDrawable")
A: android:resource(0x01010025)=@0x7f040000
E: intent-filter (line=56)
E: action (line=57)
A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
E: category (line=59)
A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
E: meta-data (line=66)
A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
A: android:value(0x01010024)=(type 0x10)0x2
[ +7 ms] executing: /home/luis/Android/Sdk/platform-tools/adb -s 9415c0cf shell -x logcat -v time -t 1
[ +182 ms] Exit code 0 from: /home/luis/Android/Sdk/platform-tools/adb -s 9415c0cf shell -x logcat -v time -t 1
[ ] --------- beginning of main
10-26 15:20:34.645 D/vendor.qti.bluetooth@1.0-wake_lock( 542): Release wakelock is released
[ +1 ms] executing: /home/luis/Android/Sdk/platform-tools/adb -s 9415c0cf shell -x logcat -v time -t 1
[ +169 ms] Exit code 0 from: /home/luis/Android/Sdk/platform-tools/adb -s 9415c0cf shell -x logcat -v time -t 1
[ ] --------- beginning of main
10-26 15:20:34.645 D/vendor.qti.bluetooth@1.0-wake_lock( 542): Release wakelock is released
[ +13 ms] <- compile package:fact_mobile_app/main.dart
[ +20 ms] executing: /home/luis/Android/Sdk/platform-tools/adb version
[ +29 ms] Android Debug Bridge version 1.0.41
Version 30.0.4-6686687
Installed as /home/luis/Android/Sdk/platform-tools/adb
[ +1 ms] executing: /home/luis/Android/Sdk/platform-tools/adb start-server
[ +10 ms] Building APK
[ +62 ms] Running Gradle task 'assembleDebug'...
[ +1 ms] gradle.properties already sets `android.enableR8`
[ +1 ms] Using gradle from /home/luis/work/fact/fact-mobile-app/android/gradlew.
[ ] /home/luis/work/fact/fact-mobile-app/android/gradlew mode: 33277 rwxrwxr-x.
[ +11 ms] executing: /home/luis/android-studio/jre/bin/java -version
[ +100 ms] Exit code 0 from: /home/luis/android-studio/jre/bin/java -version
[ ] openjdk version "1.8.0_242-release"
OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
OpenJDK 64-Bit Server VM (build 25.242-b3-6222593, mixed mode)
[ +1 ms] executing: [/home/luis/work/fact/fact-mobile-app/android/] /home/luis/work/fact/fact-mobile-app/android/gradlew -Pverbose=true
-Ptarget-platform=android-arm64 -Ptarget=/home/luis/work/fact/fact-mobile-app/lib/main.dart -Ptrack-widget-creation=true
-Pfilesystem-scheme=org-dartlang-root assembleDebug
[+3827 ms] Starting a Gradle Daemon, 3 busy and 1 incompatible Daemons could not be reused, use --status for details
[+19293 ms] > Task :app:compileFlutterBuildDebug
[ ] [ +108 ms] executing: [/home/luis/snap/flutter/common/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] [ +27 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] [ ] d408d302e22179d598f467e11da5dd968dbdc9ec
[ ] [ ] executing: [/home/luis/snap/flutter/common/flutter/] git tag --points-at HEAD
[ ] [ +10 ms] Exit code 0 from: git tag --points-at HEAD
[ ] [ ] 1.22.0
[ ] 1.22.0-12.3.pre
[ ] [ +12 ms] executing: [/home/luis/snap/flutter/common/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ ] [ +3 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] [ ] origin/beta
[ ] [ ] executing: [/home/luis/snap/flutter/common/flutter/] git ls-remote --get-url origin
[ ] [ +3 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] [ ] https://github.com/flutter/flutter.git
[ ] [ +47 ms] executing: [/home/luis/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD
[ ] [ +4 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] [ ] beta
[ ] [ +36 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ ] [ +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] [ ] 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.
[ ] [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ ] [ +8 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[ ] [ ] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[ +10 ms] [ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ +7 ms] [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ ] [ ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[ ] [ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] [ ] 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.
[ ] [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[ ] [ +82 ms] Initializing file store
[ ] [ +33 ms] Skipping target: gen_localizations
[ ] [ +845 ms] kernel_snapshot: Starting due to {InvalidatedReason.inputChanged}
[ ] [ +36 ms] /home/luis/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev
/home/luis/snap/flutter/common/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root
/home/luis/snap/flutter/common/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter
-Ddart.developer.causal_async_stacks=true -Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructio
ns --enable-asserts --track-widget-creation --no-link-platform --packages /home/luis/work/fact/fact-mobile-app/.packages --output-dill
/home/luis/work/fact/fact-mobile-app/.dart_tool/flutter_build/76957668c94b7a428e71262292b67204/app.dill --depfile
/home/luis/work/fact/fact-mobile-app/.dart_tool/flutter_build/76957668c94b7a428e71262292b67204/kernel_snapshot.d
package:fact_mobile_app/main.dart
[+10273 ms] [+10467 ms] kernel_snapshot: Complete
[ +400 ms] [ +423 ms] debug_android_application: Starting due to {}
[ +299 ms] [ +267 ms] Manifest contained wildcard assets. Inserting missing file into build graph to force rerun. for more information see
#56466.
[ +600 ms] [ +567 ms] debug_android_application: Complete
[ +999 ms] [+1027 ms] Persisting file store
[ ] [ +20 ms] Done persisting file store
[ +199 ms] [ +206 ms] build succeeded.
[ ] [ +16 ms] "flutter assemble" took 14,015ms.
[ ] [ +3 ms] ensureAnalyticsSent: 0ms
[ ] [ +1 ms] Running shutdown hooks
[ ] [ ] Shutdown hooks complete
[ ] [ ] exiting with code 0
[ +499 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[ ] > Task :app:preBuild UP-TO-DATE
[ ] > Task :app:preDebugBuild UP-TO-DATE
[ +98 ms] > Task :app:compileDebugAidl NO-SOURCE
[ +200 ms] > Task :app:checkDebugManifest UP-TO-DATE
[ +200 ms] > Task :app:generateDebugBuildConfig UP-TO-DATE
[ ] > Task :app:compileDebugRenderscript NO-SOURCE
[ +199 ms] > Task :app:javaPreCompileDebug UP-TO-DATE
[ +399 ms] > Task :app:cleanMergeDebugAssets
[ +100 ms] > Task :app:mergeDebugShaders UP-TO-DATE
[ ] > Task :app:compileDebugShaders UP-TO-DATE
[ ] > Task :app:generateDebugAssets UP-TO-DATE
[ +299 ms] > Task :app:mergeDebugAssets
[ +299 ms] > Task :app:copyFlutterAssetsDebug
[ +100 ms] > Task :app:mainApkListPersistenceDebug UP-TO-DATE
[ +99 ms] > Task :app:generateDebugResValues UP-TO-DATE
[ ] > Task :app:generateDebugResources UP-TO-DATE
[ +99 ms] > Task :app:mergeDebugResources UP-TO-DATE
[ +99 ms] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[ ] > Task :app:processDebugJavaRes NO-SOURCE
[ +299 ms] > Task :app:processDebugManifest UP-TO-DATE
[ +100 ms] > Task :app:processDebugResources UP-TO-DATE
[ ] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[ ] > Task :app:compileDebugSources UP-TO-DATE
[ +99 ms] > Task :app:mergeDebugJavaResource UP-TO-DATE
[ +100 ms] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[ +100 ms] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[ +99 ms] > Task :app:transformClassesWithDexBuilderForDebug UP-TO-DATE
[ ] > Task :app:mergeExtDexDebug UP-TO-DATE
[ +99 ms] > Task :app:mergeDexDebug UP-TO-DATE
[ ] > Task :app:validateSigningDebug UP-TO-DATE
[ ] > Task :app:signingConfigWriterDebug UP-TO-DATE
[ ] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[ ] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[ +99 ms] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[ ] Compatible side by side NDK version was not found.
[+2799 ms] > Task :app:packageDebug
[ +299 ms] > Task :app:assembleDebug
[ +99 ms] BUILD SUCCESSFUL in 42s
[ ] 30 actionable tasks: 6 executed, 24 up-to-date
[ +913 ms] Running Gradle task 'assembleDebug'... (completed in 43.8s)
[ +118 ms] calculateSha: LocalDirectory: '/home/luis/work/fact/fact-mobile-app/build/app/outputs/flutter-apk'/app.apk
[ +27 ms] calculateSha: reading file took 26us
[ +698 ms] calculateSha: computing sha took 698us
[ +6 ms] ✓ Built build/app/outputs/flutter-apk/app-debug.apk.
[ +3 ms] executing: /home/luis/Android/Sdk/build-tools/30.0.2/aapt dump xmltree
/home/luis/work/fact/fact-mobile-app/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[ +8 ms] Exit code 0 from: /home/luis/Android/Sdk/build-tools/30.0.2/aapt dump xmltree
/home/luis/work/fact/fact-mobile-app/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)0x1d
A: android:compileSdkVersionCodename(0x01010573)="10" (Raw: "10")
A: package="pt.fact.fact_mobile_app" (Raw: "pt.fact.fact_mobile_app")
A: platformBuildVersionCode=(type 0x10)0x1d
A: platformBuildVersionName=(type 0x10)0xa
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1d
E: uses-permission (line=14)
A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
E: application (line=22)
A: android:label(0x01010001)="fact_mobile_app" (Raw: "fact_mobile_app")
A: android:icon(0x01010002)=@0x7f080000
A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw:
"androidx.core.app.CoreComponentFactory")
E: activity (line=28)
A: android:theme(0x01010000)=@0x7f0a0000
A: android:name(0x01010003)="pt.fact.fact_mobile_app.MainActivity" (Raw: "pt.fact.fact_mobile_app.MainActivity")
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=42)
A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
A: android:resource(0x01010025)=@0x7f0a0001
E: meta-data (line=52)
A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw:
"io.flutter.embedding.android.SplashScreenDrawable")
A: android:resource(0x01010025)=@0x7f040000
E: intent-filter (line=56)
E: action (line=57)
A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
E: category (line=59)
A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
E: meta-data (line=66)
A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
A: android:value(0x01010024)=(type 0x10)0x2
[ +1 ms] Stopping app 'app.apk' on ONEPLUS A3010.
[ +2 ms] executing: /home/luis/Android/Sdk/platform-tools/adb -s 9415c0cf shell am force-stop pt.fact.fact_mobile_app
[ +112 ms] executing: /home/luis/Android/Sdk/platform-tools/adb -s 9415c0cf shell pm list packages pt.fact.fact_mobile_app
[ +45 ms] package:pt.fact.fact_mobile_app
[ +2 ms] executing: /home/luis/Android/Sdk/platform-tools/adb -s 9415c0cf shell cat /data/local/tmp/sky.pt.fact.fact_mobile_app.sha1
[ +35 ms] 19fabf8e8c0e55c87c4e251429266328d7be384f
[ ] Installing APK.
[ +1 ms] executing: /home/luis/Android/Sdk/platform-tools/adb version
[ +6 ms] Android Debug Bridge version 1.0.41
Version 30.0.4-6686687
Installed as /home/luis/Android/Sdk/platform-tools/adb
[ ] executing: /home/luis/Android/Sdk/platform-tools/adb start-server
[ +6 ms] Installing build/app/outputs/flutter-apk/app.apk...
[ ] executing: /home/luis/Android/Sdk/platform-tools/adb -s 9415c0cf install -t -r
/home/luis/work/fact/fact-mobile-app/build/app/outputs/flutter-apk/app.apk
[+7885 ms] Performing Streamed Install
Success
[ ] Installing build/app/outputs/flutter-apk/app.apk... (completed in 7.9s)
[ +2 ms] executing: /home/luis/Android/Sdk/platform-tools/adb -s 9415c0cf shell echo -n 99917479d64d18a1594fa407216906d1815b7b4e >
/data/local/tmp/sky.pt.fact.fact_mobile_app.sha1
[ +147 ms] ONEPLUS A3010 startApp
[ +5 ms] executing: /home/luis/Android/Sdk/platform-tools/adb -s 9415c0cf shell am start -a android.intent.action.RUN -f 0x20000000 --ez
enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true
pt.fact.fact_mobile_app/pt.fact.fact_mobile_app.MainActivity
[ +287 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=pt.fact.fact_mobile_app/.MainActivity (has extras) }
[ ] Waiting for observatory port to be available...
[+2577 ms] Observatory URL on device: http://127.0.0.1:38871/jGm7XtoXnwo=/
[ +3 ms] executing: /home/luis/Android/Sdk/platform-tools/adb -s 9415c0cf forward tcp:0 tcp:38871
[ +8 ms] 36083
[ ] Forwarded host port 36083 to device port 38871 for Observatory
[ +4 ms] Caching compiled dill
[ +52 ms] Connecting to service protocol: http://127.0.0.1:36083/jGm7XtoXnwo=/
[ ] DDS is currently disabled due to https://github.com/flutter/flutter/issues/62507
[ +654 ms] Successfully connected to service protocol: http://127.0.0.1:36083/jGm7XtoXnwo=/
[ ] Waiting for ONEPLUS A3010 to report its views...
[ +17 ms] Waiting for ONEPLUS A3010 to report its views... (completed in 15ms)
[ +16 ms] DevFS: Creating new filesystem on the device (null)
[ +96 ms] DevFS: Created new filesystem on the device
(file:///data/user/0/pt.fact.fact_mobile_app/code_cache/fact-mobile-appLLFPXN/fact-mobile-app/)
[ +3 ms] Updating assets
[ +107 ms] Manifest contained wildcard assets. Inserting missing file into build graph to force rerun. for more information see #56466.
[ +7 ms] Syncing files to device ONEPLUS A3010...
[ +1 ms] Scanning asset files
[ +1 ms] <- reset
[ ] Compiling dart to kernel with 0 updated files
[ ] <- recompile package:fact_mobile_app/main.dart 5dc1bdde-38cc-48ec-9a3b-42d418ed6156
[ ] <- 5dc1bdde-38cc-48ec-9a3b-42d418ed6156
[ +118 ms] Updating files
[ +710 ms] DevFS: Sync finished
[ ] Syncing files to device ONEPLUS A3010... (completed in 834ms)
[ +1 ms] Synced 7.4MB.
[ +1 ms] <- accept
[ +15 ms] Connected to _flutterView/0x7afcfd3820.
[ +1 ms] Flutter run key commands.
[ +1 ms] r Hot reload. 🔥🔥🔥
[ ] R Hot restart.
[ ] h Repeat this help message.
[ ] d Detach (terminate "flutter run" but leave application running).
[ ] c Clear the screen
[ ] q Quit (terminate the application on the device).
[ ] An Observatory debugger and profiler on ONEPLUS A3010 is available at: http://127.0.0.1:36083/jGm7XtoXnwo=/ Code samplecode samplebody: NestedScrollView(
controller: _scrollController,
headerSliverBuilder: (context, innerBoxIsScrolled) {
return [
SliverAppBar(
expandedHeight: kExpandedHeight,
floating: false,
pinned: true,
leading: Center(
child: IconButton(
key: Key('HamburgerMenuIcon'),
icon: FaIcon(FontAwesomeIcons.bars),
onPressed: () {
scaffoldKey.currentState.openDrawer();
},
),
),
flexibleSpace: FlexibleSpaceBar(
centerTitle: false,
titlePadding: EdgeInsets.symmetric(
vertical: 16, horizontal: 16),
title: Text(titles[_currentIndex],
style: TextStyle(
color: Colors.white, fontWeight: FontWeight.bold)),
background:
Container(color: Theme.of(context).primaryColor))),
];
},
body: widgets[_currentIndex],
) |
code sampleimport 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Material App',
theme: ThemeData.dark(),
home: Home(),
);
}
}
class Home extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
body: NestedScrollView(
headerSliverBuilder: (context, innerBoxScroll) {
return [
SliverAppBar(
expandedHeight: 250,
floating: false,
pinned: true,
leading: Center(
child: IconButton(
key: Key('HamburgerMenuIcon'),
icon: Icon(Icons.menu),
onPressed: () {
// scaffoldKey.currentState.openDrawer();
},
),
),
flexibleSpace: FlexibleSpaceBar(
centerTitle: false,
titlePadding:
EdgeInsets.symmetric(vertical: 16, horizontal: 16),
title: Text('Flutter',
style: TextStyle(
color: Colors.white, fontWeight: FontWeight.bold)),
background:
Container(color: Theme.of(context).primaryColor))),
];
},
body: Container(),
),
);
}
}
flutter doctor -v[✓] Flutter (Channel stable, 1.22.2, on Mac OS X 10.15.7 19H2, locale en-GB)
• Flutter version 1.22.2 at /Users/tahatesser/Code/flutter_stable
• Framework revision 84f3d28555 (11 days ago), 2020-10-15 16:26:19 -0700
• Engine revision b8752bbfff
• Dart version 2.10.2
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /Users/tahatesser/Code/sdk
• Platform android-30, build-tools 30.0.2
• ANDROID_HOME = /Users/tahatesser/Code/sdk
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.1, Build version 12A7403
• CocoaPods version 1.10.0.rc.1
[!] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b3-6222593)
[✓] VS Code (version 1.50.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.15.1
[✓] Connected device (1 available)
• iPhone 12 (mobile) • BAFAB765-173F-4B78-93AC-F6FB6E6783C3 • ios •
com.apple.CoreSimulator.SimRuntime.iOS-14-1 (simulator)
! Doctor found issues in 1 category. [✓] Flutter (Channel master, 1.24.0-4.0.pre.81, on Mac OS X 10.15.7 19H2
darwin-x64, locale en-GB)
• Flutter version 1.24.0-4.0.pre.81 at /Users/tahatesser/Code/flutter_master
• Framework revision 05ab0eba19 (7 hours ago), 2020-10-26 19:22:25 -0700
• Engine revision 1857470267
• Dart version 2.11.0 (build 2.11.0-260.0.dev)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /Users/tahatesser/Code/sdk
• Platform android-30, build-tools 30.0.2
• ANDROID_HOME = /Users/tahatesser/Code/sdk
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.1, Build version 12A7403
• CocoaPods version 1.10.0.rc.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• 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
1.8.0_242-release-1644-b3-6222593)
[✓] VS Code (version 1.50.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.15.1
[✓] Connected device (4 available)
• iPhone 12 (mobile) • BAFAB765-173F-4B78-93AC-F6FB6E6783C3 • ios
• com.apple.CoreSimulator.SimRuntime.iOS-14-1 (simulator)
• macOS (desktop) • macos • darwin-x64
• Mac OS X 10.15.7 19H2 darwin-x64
• Web Server (web) • web-server • web-javascript
• Flutter Tools
• Chrome (web) • chrome • web-javascript
• Google Chrome 86.0.4240.111
• No issues found! |
@TahaTesser You can help me? Or is it a flutter bug that will have to be fixed? |
@LuisCampos97 |
@LuisCampos97 code sampleimport 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Material App',
theme: ThemeData.dark(),
home: Home(),
);
}
}
class Home extends StatefulWidget {
@override
_HomeState createState() => _HomeState();
}
class _HomeState extends State<Home> {
var top = 0.0;
@override
Widget build(BuildContext context) {
return Scaffold(
body: NestedScrollView(
headerSliverBuilder: (context, innerBoxScroll) {
print(innerBoxScroll.toString());
return [
SliverAppBar(
expandedHeight: 250,
floating: false,
pinned: true,
leading: Center(
child: IconButton(
key: Key('HamburgerMenuIcon'),
icon: Icon(Icons.menu),
onPressed: () {
// scaffoldKey.currentState.openDrawer();
},
),
),
flexibleSpace: LayoutBuilder(
builder: (BuildContext context, BoxConstraints constraints) {
top = constraints.biggest.height;
return FlexibleSpaceBar(
centerTitle: false,
titlePadding:
EdgeInsets.symmetric(vertical: 16, horizontal: 16),
title: Padding(
padding: top ==
MediaQuery.of(context).padding.top +
kToolbarHeight
? const EdgeInsets.only(left: 30)
: const EdgeInsets.only(left: 0),
child: Text('Flutter',
style: TextStyle(
color: Colors.white,
fontWeight: FontWeight.bold)),
),
background:
Container(color: Theme.of(context).primaryColor));
},
)),
];
},
body: Container(),
),
);
}
}
|
The workaround isn't good enough, we need to keep the issue open for proper padding |
That issue shouldn't be ignored by flutter team |
Reproduces on stable 3.3 and master 3.7 Screen.Recording.2022-12-22.at.5.45.40.PM.movflutter doctor -v (mac)
|
Hi!
It is possible to have different padding in the titlePadding when it is collapsed and when it is not.
When it is not collapsed I would like a 16px filling vertically, and when it is collapsed I would like a 50px filling because of the hamburger menu.
But as the paddings are the same for both situations, what happens in the images above happens.
My code is this:
I need help please. Thank you!
The text was updated successfully, but these errors were encountered: