Skip to content

Exception in Flutter Gallery / Dialogs Demo #6826

@Pacane

Description

@Pacane

Steps to Reproduce

  • Run the gallery app, go in the Dialogs Demo.
  • Click on Confirmation
  • Click on Cancel
  • Click on Confirmation

Expected: Dialog opens again.

Error: No dialog opens.

Logs

E/flutter (25891): [ERROR:../../lib/tonic/logging/dart_error.cc(16)] Unhandled exception:
E/flutter (25891): 'package:flutter/src/material/time_picker.dart': Failed assertion: line 775 pos 10: 'initialTime != null' is not true.
E/flutter (25891): #0      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:24)
E/flutter (25891): #1      _AssertionError._checkAssertion (dart:core-patch/errors_patch.dart:31)
E/flutter (25891): #2      showTimePicker.<showTimePicker_async_body> (package:flutter/src/material/time_picker.dart:775:10)
E/flutter (25891): #3      Future.Future.microtask.<anonymous closure> (dart:async/future.dart:144)
E/flutter (25891): #4      _microtaskLoop (dart:async/schedule_microtask.dart:41)
E/flutter (25891): #5      _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)

Flutter Doctor

 ❯ flutter doctor                                                                                                                                                                                                        [19:11:03]
[✓] Flutter (on Linux, channel master)
    • Flutter at /home/joel/code/flutter
    • Framework revision d0ff41ec35 (25 hours ago), 2016-11-10 15:33:02
    • Engine revision 84a060820a
    • Tools Dart version 1.21.0-dev.3.0

[✓] Android toolchain - develop for Android devices (Android SDK 25.0.0)
    • Android SDK at /opt/android-sdk
    • Platform android-25, build-tools 25.0.0
    • ANDROID_HOME = /opt/android-sdk
    • Java(TM) SE Runtime Environment (build 1.8.0_112-b15)

[✓] IntelliJ IDEA Ultimate Edition (version 2016.3)
    • Dart plugin installed
    • Flutter plugin installed

[✓] Connected devices
    • Nexus 6P • 84B7N15A10004400 • android-arm • Android 7.1.1 (API 25)

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: crashStack traces logged to the consolecustomer: galleryRelating to flutter/gallery repository. Please transfer non-framework issues there.f: date/time pickerDate or time picker widgets

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions