Skip to content

Blank Screen When Running the App #20

Closed
@krisnaw

Description

@krisnaw

Hi, I'm really new to Flutter & Dart
I'm facing blank screen on iOS Simulator and stuck on installing APK on Android.

  1. git clone https://github.com/material-components/material-components-flutter-codelabs.git
  2. cd material-components-flutter-codelabs
  3. git checkout 101-starter
  4. flutter create mdc_100_series
  5. Open Android Studio.
  6. Delete the testing files widget_test.dart
  7. No prompt, since I already install flutter package on my IntelliJ
  8. Run app on iOS simulator resulting blank white screen, with this error

[VERBOSE-2:dart_error.cc(16)] Unhandled exception: NoSuchMethodError: Attempted to use type 'ShrineApp' as a function. Since types do not define a method 'call', this is not possible. Did you intend to call the ShrineApp constructor and forget the 'new' operator? Receiver: ShrineApp Tried calling: ShrineApp() #0 Object.noSuchMethod (dart:core-patch/dart:core/object_patch.dart:46) #1 main (/Users/krisna/Work/flutter/material-components-flutter-codelabs/mdc_100_series/lib/main.dart:19:32) #2 _startIsolate.<anonymous closure> (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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions