Created
December 31, 2020 18:35
-
-
Save manas-raj-shrestha/01958b2dbd2fcf2ea065eec2d632aab0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:get_it/get_it.dart'; | |
import 'navigation_service.dart'; | |
GetIt locator = GetIt.instance; | |
setupLocator() { | |
locator.registerLazySingleton<NavigationService>(() => NavigationService()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment