Here I offer a recipie. It is a little sample of how to make a control that shows up as a segmented control on iOS and a tab control in Android.
Continue reading
I’ve been having some fun with Flutter lately and want to share a crude little example of how to use the Provider pattern for managing app state. What I like about the pattern is the straightforward nature with which it enables widgets to communicate with each other. Also, I like being able to tell the StatelessWidget to redraw itself rather than implementing those widgets as StatefulWidgets and saddling those UI elements with the added responsibility of tracking when to redraw.
Continue reading