Skip to content

NoSuchMethodError: Attempted to use type 'ThreesApp' as a function #3

@arden

Description

@arden

[VERBOSE-2:dart_error.cc(16)] Unhandled exception:
NoSuchMethodError: Attempted to use type 'ThreesApp' as a function. Since types do not define a method 'call', this is not possible. Did you intend to call the ThreesApp constructor and forget the 'new' operator?
Receiver: ThreesApp
Tried calling: ThreesApp()
#0 Object.noSuchMethod (dart:core-patch/dart:core/object_patch.dart:46)
#1 main (/Users/weibo/data/source/flutter/threes-flutter/lib/main.dart:9:32)
#2 _startIsolate. (dart:isolate-patch/dart:isolate/isolate_patch.dart:279)
#3 _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions