In your app you often need to give users the ability to customize and save app settings . In platforms like phonegap or cordova we typically store these settings inside browser localStorage In flutter we can save user customizations on the device using a plugin such as shared_preferences. Preferences are simple key value pairs. Storing […]
Rounded borders in flutter
If you come from a web background you know that we can use CSS to create rounded borders, let us see how to do this flutter. In this article i will demonstrate how to add rounded rectangles to commonly used widgets such as TextField, Container and an Image For widgets such as TextEdit, Container we […]
Using SafeArea
The latest iphones have a notch design, you know the little black strip at the top of the phone. In the screen shot below the image bleeds into the notch area. This is an excerpt of what the code currently looks like Once a fix is added this how the screen looks The solution to […]
Centering content inside a column vertically and horizontally is something we need to do most of the time as app developers Flutter makes this trivial. All you need to do is add 2 properties to Column object mainAxisAlignment crossAxisAlignment I will talk more about the properties in a future post where we will discuss layouts. […]
How to resize RaisedButton
How to resize a raised button in flutter
How to use SVG in flutter
Flutter does not natively support SVG’s. See How to get around this
limitation
Full background image
Learn how show a full screen image with a transparent appbar. No hair pulling involved 🙂
Flutter: Read config data
Many times we need to be able to read configuration information inside our app at runtime. See how to do this in flutter