Skip to content

不能弹出提示 错误如下 #32

@oh-jy

Description

@oh-jy

I/flutter ( 8069): ══╡ EXCEPTION CAUGHT BY GESTURE ╞═══════════════════════════════════════════════════════════════════
I/flutter ( 8069): The following NoSuchMethodError was thrown while handling a gesture:
I/flutter ( 8069): The getter 'inMilliseconds' was called on null.
I/flutter ( 8069): Receiver: null
I/flutter ( 8069): Tried calling: inMilliseconds
I/flutter ( 8069):
I/flutter ( 8069): When the exception was thrown, this was the stack:
I/flutter ( 8069): #0 Object.noSuchMethod (dart:core-patch/object_patch.dart:50:5)
I/flutter ( 8069): #6 showToastWidget
package:oktoast/…/core/toast.dart:138
I/flutter ( 8069): #7 showToast
package:oktoast/…/core/toast.dart:71

showToastWidget line 138
Future.delayed(duration, () {
future.dismiss();
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions