-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
a: error messageError messages from the Flutter frameworkError messages from the Flutter frameworkf: cupertinoflutter/packages/flutter/cupertino repositoryflutter/packages/flutter/cupertino repositoryf: date/time pickerDate or time picker widgetsDate or time picker widgetsfound in release: 2.5Found to occur in 2.5Found to occur in 2.5found in release: 2.6Found to occur in 2.6Found to occur in 2.6frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team
Description
Steps to Reproduce
- Run
flutter create bug. - Update the files as follows: main.dart -> change body of Scaffold to
body: Container(
height: 0,
width: double.infinity,
child: CupertinoDatePicker(onDateTimeChanged: (_){}),
)
Actual results:
flutter: ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
flutter: The following assertion was thrown during paint():
flutter: 'package:flutter/src/rendering/layer.dart': Failed assertion: line 1627 pos 12:
flutter: 'value.storage.every((double component) => component.isFinite)': is not true.
flutter:
flutter: Either the assertion indicates an error in the framework itself, or we should provide substantially
flutter: more information in this error message to help you determine and fix the underlying cause.
flutter: In either case, please report this assertion by filing a bug on GitHub:
flutter: https://github.com/flutter/flutter/issues/new?template=BUG.md
So this exception doesn't crash the app and has no effect on ui, I have already fix that issue in my app. The only reason that I'm here is just that exception itself says me to open this bug on Github.
Logs
flutter analyze
Analyzing bug...
info • The value of the field '_counter' isn't used •
lib/main.dart:54:7 • unused_field
1 issue found. (ran in 2.4s)
flutter doctor -v
[✓] Flutter (Channel beta, v1.17.0-3.2.pre, on Mac OS X 10.15.3
19D76, locale en-UA)
• Flutter version 1.17.0-3.2.pre at
/Users/philipdolenko/Documents/tools/flutter
• Framework revision 2a7bc389f2 (3 days ago), 2020-04-21 20:34:20
-0700
• Engine revision 4c8c31f591
• Dart version 2.8.0 (build 2.8.0-dev.20.10)
[!] Android toolchain - develop for Android devices (Android SDK
version 29.0.2)
• Android SDK at /Users/philipdolenko/Library/Android/sdk
• Platform android-29, build-tools 29.0.2
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_202-release-1483-b49-5587405)
✗ Android license status unknown.
Try re-installing or updating your Android SDK Manager.
See https://developer.android.com/studio/#downloads or visit
visit
https://flutter.dev/docs/get-started/install/macos#android-setu
p for detailed instructions.
[✓] Xcode - develop for iOS and macOS (Xcode 11.4.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.4.1, Build version 11E503a
• CocoaPods version 1.8.0
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google
Chrome
[✓] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 43.0.1
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build
1.8.0_202-release-1483-b49-5587405)
[!] Android Studio
• Android Studio at /Applications/Android Studio 4.0
Preview.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_212-release-1586-b4-5784211)
[!] IntelliJ IDEA Ultimate Edition (version 2017.3.5)
• IntelliJ at /Applications/IntelliJ IDEA.app
✗ Flutter plugin not installed; this adds Flutter specific
functionality.
✗ Dart plugin not installed; this adds Dart specific
functionality.
• For information about installing plugins, see
https://flutter.dev/intellij-setup/#installing-the-plugins
[✓] VS Code (version 1.44.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.9.1
[✓] Connected device (4 available)
• SM G960F • 1cb4d78401027ece •
android-arm64 • Android 10 (API 29)
• iPhone 11 Pro Max • 1A206576-8C68-40AB-B779-961A7FFCB5C3 • ios
• com.apple.CoreSimulator.SimRuntime.iOS-13-4 (simulator)
• Chrome • chrome •
web-javascript • Google Chrome 81.0.4044.122
• Web Server • web-server •
web-javascript • Flutter Tools
! Doctor found issues in 3 categories.
Nico3652 and Tom3652
Metadata
Metadata
Assignees
Labels
a: error messageError messages from the Flutter frameworkError messages from the Flutter frameworkf: cupertinoflutter/packages/flutter/cupertino repositoryflutter/packages/flutter/cupertino repositoryf: date/time pickerDate or time picker widgetsDate or time picker widgetsfound in release: 2.5Found to occur in 2.5Found to occur in 2.5found in release: 2.6Found to occur in 2.6Found to occur in 2.6frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team
Type
Projects
Status
Done (PR merged)
Status
Engineer reviewed