Flutter Getx – "Xxx" not found. You need to call "Get.put(Xxx())" – But i have called Get.put(Xxx())

Issue I have this global bindings class to initialise some services and I need it to be initialised straight away: import ‘package:get/get.dart’; import ‘package:vepo/data/data_provider/local_data_provider.dart’; import ‘package:vepo/data/data_source/local_data_source.dart’; import ‘services/authentication_service.dart’; class GlobalBindings extends Bindings { final LocalDataProvider _localDataProvider = LocalDataProvider(); @override void

Continue reading

SliverList and Getx StateMixin support

Issue I’m struggling trying to make a GetxController work with a SliverList. In particular, my controller returns the view state with StateMixin from Getx library. class ItinerariesByCreatorPageController extends GetxController with StateMixin<Pair<Creator, List<Itinerary>>> { ItinerariesByCreatorPageController(this._interactor); final ItinerariesInteractor _interactor; void getCreatorPage(String creatorSlug,

Continue reading