Русские видео

Сейчас в тренде

Иностранные видео


Скачать с ютуб Flutter - Service Locator (GetIt) and Injectable в хорошем качестве

Flutter - Service Locator (GetIt) and Injectable 3 года назад


Если кнопки скачивания не загрузились НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием, пожалуйста напишите в поддержку по адресу внизу страницы.
Спасибо за использование сервиса savevideohd.ru



Flutter - Service Locator (GetIt) and Injectable

As your App grows, at some point you will need to put your app's logic in classes that are separated from your Widgets. Keeping your widgets from having direct dependencies makes your code better organized and easier to test and maintain. But now you need a way to access these objects from your UI code. When I came to Flutter from the .Net world, the only way to do this was the use of InheritedWidgets. I found the way to use them by wrapping them in a StatefulWidget; quite cumbersome and have problems working consistently. 0:00 Introduction 0:55 Service Locator explained 03:42 Setup 05:16 How to access objects 06:55 Binding objects 07:29 Resolve Dependencies 08:07 Extra Features GetIt: https://pub.dev/packages/get_it Injectable https://pub.dev/packages/injectable

Comments