Flutter Tabs: Creating Tabs in Flutter App: Using tabs is a common pattern in apps using the Material Design guidelines. Flutter includes a convenient way to create tab layouts as part of the material library. Creating Tabs In Flutter App: Create a TabController Create the tabs Create content for each tab Create a TabController: To work with...Read More
Flutter UI Orientation: Using the UI based Orientation: In certain cases, it can be handy to update the design of an app when the user rotates their screen from portrait mode to landscape mode. For example, we may want to show one item after the next in portrait mode and side-by-side in landscape mode. ...Read More
Flutter SnackBars: Displaying SnackBars In Flutter App : In some situations, to briefly inform our users when certain actions take place. For example, when a user swipes away a message in a list, then we want to inform them the message has been deleted. We might even want to give them an option to undo...Read More
Flutter Drawer: Add a Drawer to a screen: In any apps that employ Material Design, We have two primary options for navigation: tabs and drawers. When there is insufficient space to support tabs, Drawers provide a handy alternative. In Flutter, we can achieve this with Drawer Widget in combination with a Scaffold to create a layout with a Material...Read More
Opacity-Animation: Fade a Widget in and out: As User Interface UI developers, we often need to show and hide elements on the screen. However, quickly popping elements on and off the screen can feel jarring to end users. Instead, we can fade elements in and out with an opacity animation to create a smooth experience....Read More
Sharedpreferences Key Value: Storing key-value data on disk: If we have a relatively small collection of key-values that we’d like to save, we can use the shared_preferences plugin. Normally we would have to write native platform integrations for storing data on both platforms. Fortunately, the shared_preferences plugin can be used to persist key-value data on disk. The shared...Read More