flutter-tutorials icon indicating copy to clipboard operation
flutter-tutorials copied to clipboard

022-lifecycle-manager

Open ZachBird opened this issue 5 years ago • 2 comments

the repo lib/locator.dart:6:17 went wrong, the wrong message was:

lib/locator.dart:6:17: Error: Method not found: 'GetIt'. GetIt locator = GetIt();

I dont know how to deal with it.

ZachBird avatar Apr 27 '20 09:04 ZachBird

Use GetIt.instance.

If you're gonna use get it you need to read it's readme so you know how to use it to your needs.

Sent from Outlook Mobilehttps://aka.ms/blhgte


From: Zach Bird [email protected] Sent: Monday, April 27, 2020 11:25:03 AM To: FilledStacks/flutter-tutorials [email protected] Cc: Subscribed [email protected] Subject: [FilledStacks/flutter-tutorials] 022-lifecycle-manager (#60)

the repo lib/locator.dart:6:17 went wrong, the wrong message was:

lib/locator.dart:6:17: Error: Method not found: 'GetIt'. GetIt locator = GetIt();

I dont know how to deal with it.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/FilledStacks/flutter-tutorials/issues/60, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA3M72UZSZELTP4OSUAU3OLROVFO7ANCNFSM4MRX5YNQ.

FilledStacks avatar Apr 27 '20 10:04 FilledStacks

@FilledStacks thx for your patiences, cause i realized it's a primary issue.😅

ZachBird avatar Apr 29 '20 03:04 ZachBird