You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a custom PreferredSizeWidget (for use in the appBar of a Scaffold)
Place a Container with a Background Color as the root Widget within the PreferredSizeWidget
Add padding to the Container
Launch on PixelXL device.
Notice Extra Line
Launch on emulator / iOS simulator
No such line exists
Sorry I can't share the exact code -- it's a closed source project!
Temp. Fix
Remove bottom padding from container
Use a Column + SizedBox as the last element for extra spacing
Screenshots
PixelXL -- Extra Line under Search Box
Emulator (expected result)
Logs
Initializing gradle... 0.9s
Resolving dependencies... 0.8s
Launching lib/main.dart on Pixel XL in release mode...
Running 'gradlew assembleRelease'...
Configuration 'compile' in project ':app' is deprecated. Use 'implementation' instead.
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
Built build/app/outputs/apk/release/app-release.apk (13.7MB).
Installing build/app/outputs/apk/app.apk... 7.9s
Run flutter analyze and attach any output of that command also.
No issues found!
Ran in 7.4s
Flutter Doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.1.5, on Mac OS X 10.13.3 17D102, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.2)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
[✓] Android Studio (version 3.0)
[✓] IntelliJ IDEA Community Edition (version 2017.3.4)
[✓] VS Code (version 1.20.0)
[✓] Connected devices (1 available)
• No issues found!
The text was updated successfully, but these errors were encountered:
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Steps to Reproduce
PreferredSizeWidget
(for use in theappBar
of aScaffold
)PreferredSizeWidget
padding
to theContainer
Sorry I can't share the exact code -- it's a closed source project!
Temp. Fix
Screenshots
PixelXL -- Extra Line under Search Box
Emulator (expected result)
Logs
Run
flutter analyze
and attach any output of that command also.Flutter Doctor
The text was updated successfully, but these errors were encountered: