Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Flutter Design Patterns and Best Practices
  • Table Of Contents Toc
Flutter Design Patterns and Best Practices

Flutter Design Patterns and Best Practices

By : Daria Orlova, Esra Kadah, Jaime Blasco
5 (3)
close
close
Flutter Design Patterns and Best Practices

Flutter Design Patterns and Best Practices

5 (3)
By: Daria Orlova, Esra Kadah, Jaime Blasco

Overview of this book

Flutter’s rapid adoption by developers and businesses alike has led to an increased demand for skilled developers who can deliver high-quality Flutter apps. Flutter can be a great tool to develop apps for yourself, but you don’t always need to consider things like scalability or business goals as a hobbyist. When you build apps for a business, however, you must use specific tools to help the business achieve its goals. This requires solutions to be fast, reliable, and delivered on time. This book will help you meet these business requirements. You'll begin by learning how to build responsive UIs that work on all devices. Next, you'll delve into state management, understanding how to select the appropriate solution and gaining hands-on experience with InheritedWidget, ChangeNotifier, and BLoC. Later, you'll move on to high-level practices such as layered architecture, dependency injection, and repository patterns. The book will also show you how to develop features of any complexity, such as multithreading and native layer implementations. You'll also learn how to ensure the quality of your solutions by prioritizing testing. By the end of this book, you'll be able to deliver well-architected Flutter projects that are stable, scalable, and maintainable. *Email sign-up and proof of purchase required
Table of Contents (20 chapters)
close
close
1
Part 1: Building Delightful User Interfaces
4
Part 2: Connecting UI with Business Logic
8
Part 3: Exploring Practical Design Patterns and Architecture Best Practices
14
Part 4: Ensuring App Quality and Stability

Exploring debugging practices and tools

There are many ongoing debates among programmers. One of them is the print statement versus using debuggers debate. Personally, I often dislike this binary choice because, as is often the case with programming, the only real valid answer is “it depends!” Fortunately, Flutter supports both approaches and provides us with some amazing tools. Let’s review them.

Logging – the good, the bad, and the ugly

The logging process is a widely used method to obtain information about the behavior of our app, which is printed into the console. Most programming languages, including Dart, have a method for printing statements to the console. In Dart, this is done by calling the print('Any string here'); method. However, this simple approach has limitations when used in the context of an application. The following issues arise when using the print function:

  • Very long log messages can be truncated, which is especially...
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Flutter Design Patterns and Best Practices
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon