Skip to content

examples/widgets/dropdown.dart asserts on selection #397

Closed

Description

@Hixie

In examples/widgets/dropdown.dart when you select something from the drop-down you get:

-- EXCEPTION IN SCHEDULER CALLBACK --
Bad state: Future already completed
Stack trace:
#0      _AsyncCompleter.complete (dart:async/future_impl.dart:40)
#1      TransitionRoute._handleStatusChanged (flutter/packages/flutter/lib/src/widgets/routes.dart:86)
#2      Performance._checkStatusChanged (flutter/packages/flutter/lib/src/animation/performance.dart:288)
#3      Performance.didTick (flutter/packages/flutter/lib/src/animation/performance.dart:315)
#4      Performance._tick (flutter/packages/flutter/lib/src/animation/performance.dart:310)
#5      SimulationStepper._tick (flutter/packages/flutter/lib/src/animation/simulation_stepper.dart:103)
#6      Ticker._tick (flutter/packages/flutter/lib/src/animation/ticker.dart:67)
#7      Scheduler.invokeCallback (flutter/packages/flutter/lib/src/animation/scheduler.dart:81)
#8      Scheduler.beginFrame.<anonymous closure> (flutter/packages/flutter/lib/src/animation/scheduler.dart:62)
#9      _HashVMBase&MapMixin&&_LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:340)
#10     Scheduler.beginFrame (flutter/packages/flutter/lib/src/animation/scheduler.dart:60)
...

Activity

  1. added this to the milestone on Nov 16, 2015
  2. added
    p: material_uimaterial_ui package in flutter/packages
    and removed
    p: material_uimaterial_ui package in flutter/packages
    on Nov 20, 2015
  3. self-assigned this
    on Dec 7, 2015
  4. abarth commented on Dec 10, 2015

    @abarth
    Contributor

    I fixenated this.

  5. github-actions commented on Aug 17, 2021

    @github-actions

    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.

  6. locked as resolved and limited conversation to collaborators on Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

frameworkflutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packages

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions