Book Image

Mastering Dart

By : Sergey Akopkokhyants
Book Image

Mastering Dart

By: Sergey Akopkokhyants

Overview of this book

Table of Contents (19 chapters)
Mastering Dart
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


In this chapter, we discussed some important aspects of internalization and localization of projects based on the Dart language. The development of globalized software includes internationalization and covers designing and developing web applications, and localization that includes translating and customizing web applications for a specific locale.

The intl package from the pub manager helps you design and develop applications for the server side and client side in a pretty straightforward manner. All the executable code must be separated from the programming code that implements the UI. You must avoid converting numbers and dates into strings directly because various cultures have different ways of presenting numbers and dates.

The NumberFormat class contains special constructors to quickly create the frequently used patterns, which can be very handy to measure units and currencies. The BidiFormatter class helps manage messages that contain text in both directions with the BiDi wrapping...