What Will I Learn?
- You will learn how to use the path provider plugin in a flutter application
- You will learn how to use a future builder widget
- You will learn how to use the require meta keyword
- You will learn how to read and write data into a small file store on android or iOS
Requirements
- IDEA intellij or Visual Studio Code with the Dart/Flutter Plugins
- The Dart SDK and the Flutter SDK
- A fair understanding of Mobile development and Imperative or Object Oriented Programming
Difficulty
- Intermediate
Description
In this flutter video tutorial, we take a look at Google's path provider plugin. We also look at future builder widgets as well as asynchronous snapshots and we talk about how we can read and write data into files using flutter. We touch briefly on some of the meta programming keywords that are a part of the flutter framework, such as the @required
keyword.
Path provider gives us a platform agnostic method for accessing common file system locations on the devices that we are targeting. This includes the temporary folders, the documents folders and the external documents directories. This is useful because it makes it easier to create file caches and databases for our applications which will work properly on many different platforms without issue.
Future builders are widgets that let us change the look and feel of a widget based on the state of a future value. Future values are asynchronous which makes it important for us to have a method to check their state to defer the creation of a widget in our tree. We are able to use the asyncsnapshot type to check the current state of our future and then resolve the widget based on that state.
The source code for this project can be found here
Video Tutorial
Curriculum
- Dart Flutter Cross Platform Chat Application Tutorial
- Building a Multi-Page Application with Dart's Flutter Mobile Framework
- Making Http requests and Using Json in Dart's Flutter Framework
- Building Dynamic Lists with Streams in Dart's Flutter Framework
- Using GridView, Tabs, and Steppers in Dart's Flutter Framework
- Using Global Keys to get State and Validate Input in Dart's Flutter Framework
- The Basics of Animation with Dart's Flutter Framework
- Advanced Physics Based Animations in Dart's Flutter Framework
- Building a Drag and Drop Application with Dart's Flutter Framework
- Building a Hero Animation and an Application Drawer in Dart's Flutter Framework
- Building a Temperature Conversion Application using Dart's Flutter Framework
- Using Inherited Widgets and Gesture Detectors in Dart's Flutter Framework
- Using Gradients, Fractional Offsets, Page Views and Other Widgets in Dart's Flutter Framework
- Building a Calculator Layout using Dart's Flutter Framework
- Finishing our Calculator Application with Dart's Flutter Framework
- Making use of Shared Preferences, Flex Widgets and Dismissibles with Dart's Flutter framework
- Using the Different Style Widgets and Properties in Dart's Flutter Framework
- Composing Animations and Chaining Animations in Dart's Flutter Framework
- Building a Countdown Timer with a Custom Painter and Animations in Dart's Flutter Framework
Posted on Utopian.io - Rewarding Open Source Contributors