Improve your relationship with your smartphoneHow I decreased my daily screen time by 80% using mindfulness and app limits.4 min read·blog.lising.caSep 14, 2022
Using Dart & Flutter Packages from a Private Git RepoProblem We want to use Dart/Flutter packages from a private git repo on Github. The following article will show you how. Set up SSH client To authenticate ourselves into the private repo, we will need to use the SSH protocol. Mac and Linux Mac and L...3 min read·blog.lising.ca1BAug 18, 2020
Abstraction in DartTo hide the unnecessary details of an implementation A simple example of abstraction is the concept of a car. When you drive a car, there is the concept of accelerating, braking, and turning the wheel to switch directions. The driver doesn't need ...2 min read·blog.lising.caJul 16, 2020
Encapsulation in DartEncapsulation Encapsulation is the principle that limits access to of an object's state; and the bundling of methods and operations that do work on a set of data. In other languages such as C++ and Java, it is common to control access to a field by...2 min read·blog.lising.caJul 16, 2020
Flutter localization gotcha with iOS EmulatorProblem When you use the intl package to get the current locale, it will always return English or 'en', when you use the iOS simulator. Even when you set the language and region in the iOS settings, it will always return 'en'. // This retrieves the c...1 min read·blog.lising.caJul 16, 2020