Skip to content

Error: A value of type '#lib1::TickerFuture' can't be assigned to a variable of type 'dart.async::Future<dart.core::Null>'. #7

@guzhiyang

Description

@guzhiyang

Compiler message:
file:///Users/xxx/Desktop/FlutterDemo/flutter_dropdown_menu-master/lib/_src/dropdown_menu.dart:271:16: Error: A value of type '#lib1::TickerFuture' can't be assigned to a variable of type 'dart.async::Futuredart.core::Null'.
Try changing the type of the left hand side, or casting the right hand side to 'dart.async::Futuredart.core::Null'.
return onHide();
^
file:///Users/xxx/Desktop/FlutterDemo/flutter_dropdown_menu-master/lib/_src/dropdown_menu.dart:310:12: Error: A value of type '#lib1::TickerFuture' can't be assigned to a variable of type 'dart.async::Futuredart.core::Null'.
Try changing the type of the left hand side, or casting the right hand side to 'dart.async::Futuredart.core::Null'.
return _handleShow(index, true);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions