A Flutter library for gradually painting SVG path objects on canvas (drawing line animation).
BSD 2-Clause "Simplified" License
488
stars
123
forks
source link
Unhandled Exception: NoSuchMethodError: The getter 'isNotEmpty' was called on null. #18
Closed
Anas-jed closed 3 years ago
Flutter Application Displaying white screen after installing.... same result on emulator and device
main.dart
import 'package:flutter/material.dart'; import 'package:get/get.dart'; import 'package:provider/provider.dart'; import 'package:testing_tabs/BookingHistory.dart'; void main() { runApp( MultiProvider(child: MyApp()), ); } class MyApp extends StatelessWidget { // This widget is the root of your application. @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', theme: ThemeData( primarySwatch: Colors.blue, visualDensity: VisualDensity.adaptivePlatformDensity, ), initialRoute: '/', routes: { '/': (context) => BookingHistory(), }, ); } }Logs
ERROR:flutter/lib/ui/ui_dart_state.cc(186)] Unhandled Exception: NoSuchMethodError: The getter 'isNotEmpty' was called on null. [ ] E/flutter (20114): Receiver: null [ ] E/flutter (20114): Tried calling: isNotEmpty [ ] E/flutter (20114): #0 Object.noSuchMethod (dart:core-patch/object_patch.dart:54:5) [ ] E/flutter (20114): #1 new Nested (package:nested/nested.dart:71:25) [ ] E/flutter (20114): #2 new MultiProvider (package:provider/src/provider.dart:121:8) [ ] E/flutter (20114): #3 main (package:testing_tabs/main.dart:7:10) [ ] E/flutter (20114): #4 _runMainZoned.Flutter Doctor
Slashs-MacBook-Pro:testing_tabs slashglobal$ flutter doctor -v [✓] Flutter (Channel stable, 2.0.1, on macOS 11.1 20C69 darwin-x64, locale en-US) • Flutter version 2.0.1 at /Users/slashglobal/flutter • Framework revision c5a4b4029c (2 weeks ago), 2021-03-04 09:47:48 -0800 • Engine revision 40441def69 • Dart version 2.12.0 [✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2) • Android SDK at /Users/slashglobal/Library/Android/sdk • Platform android-30, build-tools 30.0.2 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 12.4, Build version 12D4e • CocoaPods version 1.10.0 [✓] Android Studio (version 4.1) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495) [✓] Connected device (2 available) • SM A305F (mobile) • R58M78MVZNJ • android-arm64 • Android 10 (API 29) • iPhone 12 Pro Max (mobile) • F02E3034-BDF8-4BDB-8044-1A715AF853CD • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-4 (simulator) • No issues found!