This provides utility methods for working with bidirectional text. All
of the methods are static, and are organized into a class primarily to
group them together for documentation and discoverability.
Bidi stands for Bi-directional text. According to
Wikipedia:
Bi-directional text is text containing text in both text directionalities,
both right-to-left (RTL) and left-to-right (LTR). It generally involves text
containing different types of alphabets, but may also refer to
boustrophedon, which is changing text directionality in each row.
dùng để wrap các event muốn sử dụng trong state, các event này sẽ bắt buộc phải khởi tạo qua hàm
Event.from(data), trong hàm này sẽ tự động tạo ra 1 trường thời gian = thời gian lúc gọi hàm.
A decorator for a LogPrinter that allows for the composition of
different printers to handle different log messages. Provide it's
constructor with a base printer, but include named parameters for
any levels that have a different printer:
Trả về hình ảnh tương ứng với imageUrl có thể là một URL hoặc một đường dẫn tới file ảnh trong
thư mục assets, hoặc là đường dẫn trỏ tới file trong máy.
The Intl class provides a common entry point for internationalization
related tasks. An Intl instance can be created for a particular locale
and used to create a date format via anIntl.date(). Static methods
on this class are also used in message formatting.
Bọc widget trong một Navigator riêng biệt, để ví dụ replace nó với 1 widget khác thì sẽ mất
toàn bộ các widget và các dialog đang hiện trong Navigator đó, thích hợp dùng ở màn hình login
Builder function to create a progress indicator widget. The function is
called every time a chuck of the image is downloaded from the web, but at
least once during image loading.