Description
Hi, I'm really new to Flutter & Dart
I'm facing blank screen on iOS Simulator and stuck on installing APK on Android.
- git clone https://github.com/material-components/material-components-flutter-codelabs.git
- cd material-components-flutter-codelabs
- git checkout 101-starter
- flutter create mdc_100_series
- Open Android Studio.
- Delete the testing files widget_test.dart
- No prompt, since I already install flutter package on my IntelliJ
- 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)