Marks Dart and Flutter Blog

Google Flutter - Text Widget
Google Flutter - Text Widget
Introduction This widget is probably used more than any other. The Text widget displays a string of text with single style. Multiple line texts are allowed. To style the entire... Read more...
Google Flutter - Stateful Widgets
Google Flutter - Stateful Widgets
Introduction In the previous article we introduced stateless widgets and how they can be used. Now it is time to introduce the more advanced stateful widgets. Stateful widgets are not... Read more...
Google Flutter - The Basics of Widgets
Google Flutter - The Basics of Widgets
What Are Widgets? Widgets are user interface components within a Flutter application. You may think that you write code that renders the widget on the screen but you dont. When... Read more...
Google Flutter - Introduction to Widgets, Material Design and Cupertino User Interfaces
Google Flutter - Introduction to Widgets, Material Design and Cupertino User Interfaces
What Are Widgets? Introduction Widgets are really configuration objects rather than graphic objects. When you write a Widget, it is not just directly rendered on screen, it’s not as direct... Read more...
Google Flutter - Introduction to Dependencies & Packages
Google Flutter - Introduction to Dependencies & Packages
Introduction In Dart, you don’t have to develop everything from scratch. There is a packaging system where developers can develop packages and publish them. Other people can then use these... Read more...
Google Flutter - Hot Restarting and Reloading
Google Flutter - Hot Restarting and Reloading
Introduction This is a very short chapter, but it contains valuable information that you will use all the time. When are running a Flutter app and you make code changes,... Read more...
Google Flutter - Creating Your First Project and Review Its Folders and Files
Google Flutter - Creating Your First Project and Review Its Folders and Files
Introduction You can create a Flutter project from your IDE or from the command line. The default project displays a counter. You can increment the counter by hitting the floating... Read more...
Google Flutter SDK Commands
Google Flutter SDK Commands
Here is a list of the Flutter SDK commands: flutter --help Lists flutter commands. flutter analyze Analyze the project's Dart code. flutter attach Attach to a running application. flutter bash-completion... Read more...
Introduction to Google Flutter
Introduction to Google Flutter
Introduction The purpose of this chapter is to give the reader a quick introduction to Flutter before installing it and starting to use it.  What is Flutter? Flutter is not... Read more...
Arrow Functions in Dart
Arrow Functions in Dart
Introduction Dart offers arrow functions, which enable the developer to shorten single-line functions that calculate & return something. You can use: => xxx instead of: { return xxx; } Arrow... Read more...
Method Cascades in Dart
Method Cascades in Dart
Introduction Method cascades can help with the brevity of your code. Lets Run Some Code class Logger { void log(dynamic v){ print(DateTime.now().toString() + ' ' + v); } } main(){... Read more...
Asynchronous Processing in Dart and Flutter - Part Three - Async and Await
Asynchronous Processing in Dart and Flutter - Part Three - Async and Await
Async When an async method is called, a Future is immediately returned, and the body of the method is executed later. Later on, as the body of the async function... Read more...