It’s a rare case when there’s no need of storing some sort of data in an app. Flutter provides various ways to do so.
For some apps we just need to store some key-value pairs, this can be done using the
shared_preferencespackage. For some other app, we may need to store and query a large amount of data.
In such a case we can use the SQLite database via the
sqflite plugin available on
pub.dev. Another way to persist data is to read and write files to disc.
This article specifically deals with storing data in files. The recipe will…
‘RaisedButton’ is a widget used to create material design ‘raised button in Flutter. It’s Material.elevation increases when the button is pressed. It adds dimension to otherwise flat layout buttons and gives our UI a totally another look. So let’s dive in and create some awesome buttons in flutter ➡️
RaisedButton class provides many properties to configure the button viz:
}) : super(key: key);