than_pkg_lib library
Classes
- AmMessages
- Amharic Messages
- AmShortMessages
- Amharic short Messages
- ArMessages
- Arabic Messages
- ArShortMessages
- Arabic short Messages
- AzMessages
- Azeri Messages
- AzShortMessages
- Azeri short Messages
- BeMessages
- Belarusian messages (code based by russian and ukrainian translations)
- BeShortMessages
- Bidi
- 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.
- BidiFormatter
- 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.
- BnMessages
- English Messages
- BnShortMessages
- English short Messages
- BsMessages
- Bosnian Messages
- BsShortMessages
- Bosnian short Messages
- CaMessages
- Catalan Messages
- CaShortMessages
- Catalan short Messages
- CsMessages
- Czech Messages
- CsShortMessages
- Czech short Messages
- DaMessages
- Danish Messages
- DaShortMessages
- Danish short Messages
- DateFormat
- DateFormat is for formatting and parsing dates in a locale-sensitive manner.
- DeMessages
- German Messages
- DeShortMessages
- German short Messages
- DragToMoveArea
- A widget for drag to move window.
- DragToResizeArea
- A widget for drag to resize window.
- DvMessages
- Divehi Messages
- DvShortMessages
- Divehi short Messages
- EnMessages
- English Messages
- EnShortMessages
- English short Messages
- EsMessages
- Spanish Messages
- EsShortMessages
- Spanish short Messages
- EtMessages
- Estonian Messages
- EtShortMessages
- Estonian short Messages
- FaMessages
- Farsi Messages
- FiMessages
- Finnish Messages
- FiShortMessages
- Finnish short Messages
- FrMessages
- French messages
- FrShortMessages
- French shott messages
- GrMessages
- Greek messages
- GrShortMessages
- Greek short messages
- HeMessages
- Hebrew Messages
- HeShortMessages
- Hebrew short Messages
- HiMessages
- Hindi Messages
- HiShortMessages
- Hindi short Messages
- HrMessages
- Croatian messages
- HuMessages
- Hungarian Messages
- HuShortMessages
- Hungarian short Messages
- IdMessages
- Indonesian messages
- IdShortMessages
- Indonesian short Messages
- Intl
-
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. - ItMessages
- Italian messages
- ItShortMessages
- Italian short messages
- JaMessages
- Japanese messages
- KmMessages
- Cambodian messages
- KmShortMessages
- Cambodian short messages
- KoMessages
- Korean messages
- KuMessages
- Kurdish messages
- KuShortMessages
- Kurdish short messages
- LookupMessages
- LookupMessages template for any language
- LvMessages
- Russian messages
- LvShortMessages
- MicroMoney
- Used primarily for currency formatting, this number-like class stores millionths of a currency unit, typically as an Int64.
- MimeMultipart
- A Mime Multipart class representing each part parsed by MimeMultipartTransformer. The data is streamed in as it become available.
- MimeMultipartTransformer
- Parser for MIME multipart types of data as described in RFC 2046 section 5.1.1. The data is transformed into MimeMultipart objects, each of them streaming the multipart data.
- MimeTypeResolver
- MIME-type resolver class, used to customize the lookup of mime-types.
- MnMessages
- Mongolian Messages
- MnShortMessages
- Mongolian short Messages
- MsMyMessages
- Malay-Malaysia messages
- MsMyShortMessages
- Malay-Malaysia short messages
- MyMessages
- Myanmar Messages မြန်မာစာ
- MyShortMessages
- Myanmar short Messages
- NbNoMessages
- Norwegian-Bokm-Norway messages
- NbNoShortMessages
- Norwegian-Bokm-Norway short messages
- NlMessages
- Dutch messages
- NlShortMessages
- Dutch short messages
- NnNoMessages
- Norwegian-Nynorsk-Norway messgages
- NnNoShortMessages
- Norwegian-Nynorsk-Norway short messgages
- NumberFormat
- Provides the ability to format a number in a locale-specific way.
-
NumberParserBase<
R> - PackageInfo
- Application metadata. Provides application bundle information on iOS and application package information on Android.
- PackageInfoPlusLinuxPlugin
-
The Linux implementation of
PackageInfoPlatform
. - PackageInfoPlusWindowsPlugin
-
The Windows implementation of
PackageInfoPlatform
. - PlMessages
- Polish messgages
- PtBrMessages
- Portuguese-Brazil messages
- PtBrShortMessages
- Portuguese-Brazil short messages
- RoMessages
- Romanian messages
- RoShortMessages
- Romanian short messages
- RuMessages
- Russian messages
- RuShortMessages
- RwMessages
- Kinyarwanda Messages
- RwShortMessages
- Kinyarwanda short Messages
- ShortMessages
- Urdu short Messages
- SrMessages
- Serbian Messages
- SrShortMessages
- Serbian short Messages
- SvMessages
- Swedish messages
- SvShortMessages
- Swedish Short messages
- TaMessages
- Tamil messages
- TextDirection
- Represents directionality of text.
- ThMessages
- Thai messages
- ThShortMessages
- Thai short messages
- TkMessages
- Turkish messages
- TrMessages
- Turkish messages
- TrShortMessages
- Turkish short Messages
- UkMessages
- Ukrainian messages
- UkShortMessages
- UrMessages
- Urdu Messages
- ViMessages
- Vietnamese messages
- VirtualWindowFrame
- ViShortMessages
- Vietnamese short messages
- WindowCaption
- A widget to simulate the title bar of windows 11.
- WindowCaptionButton
- WindowCaptionButtonIcon
- WindowListener
- WindowManager
- WindowOptions
- WindowOptions
- ZhCnMessages
- Chinese-China messages
- ZhMessages
- Chinese messages
Enums
Constants
- kWindowCaptionHeight → const double
- kWindowEventBlur → const String
- kWindowEventClose → const String
- kWindowEventDocked → const String
- kWindowEventEnterFullScreen → const String
- kWindowEventFocus → const String
- kWindowEventLeaveFullScreen → const String
- kWindowEventMaximize → const String
- kWindowEventMinimize → const String
- kWindowEventMove → const String
- kWindowEventMoved → const String
- kWindowEventResize → const String
- kWindowEventResized → const String
- kWindowEventRestore → const String
- kWindowEventUndocked → const String
- kWindowEventUnmaximize → const String
Properties
- defaultMagicNumbersMaxLength → int
-
The maximum number of bytes needed, to match all default magic-numbers.
no setter
- windowManager → WindowManager
-
final
Functions
-
acmoConvertToUrduNumbers(
int input) → String -
calcWindowPosition(
Size windowSize, Alignment alignment) → Future< Offset> -
extensionFromMime(
String mimeType) → String? - The default file extension for a given MIME type.
-
format(
DateTime date, {String? locale, DateTime? clock, bool allowFromNow = false}) → String -
Formats provided
date
to a fuzzy time like 'a moment ago' -
lookupMimeType(
String path, {List< int> ? headerBytes}) → String? -
Extract the extension from
path
and use that for MIME-type lookup, using the default extension map. -
setDefaultLocale(
String locale) → void -
Sets the default
locale
. By default it isen
. -
setLocaleMessages(
String locale, LookupMessages lookupMessages) → void -
Sets a
locale
with the providedlookupMessages
to be available when using the format function. -
toBeginningOfSentenceCase<
T extends String?> (T input, [String? locale]) → T - Convert a string to beginning of sentence case, in a way appropriate to the locale.
-
VirtualWindowFrameInit(
) → TransitionBuilder