control/format library
Classes
- Space
- A widget that provides a fixed space of a given size.
Functions
-
formatCurrency(
double value) → String - Returns a formatted string of a currency value in euros.
-
formatDatetime(
DateTime dateTime) → String - Returns a formatted string representation of the given DateTime.
-
formatTimestamp(
Timestamp dateTime) → String -
Returns a formatted string representation of the given
Timestamp
. -
limitTextController(
TextEditingController controller, int limit) → void - Makes a TextEditingController listen to its changes and limits the text length.