v_chat_utils
library
Classes
AmMessages
Amharic Messages
AmShortMessages
Amharic short Messages
AppEvent
The base class for all events
ArMessages
Arabic Messages
ArShortMessages
Arabic short Messages
AutoDirection
AutoDirectionState
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
BoolList
A space-efficient list of boolean values.
BottomSlideNotification
a notification show in front of screen and shown at the bottom
BsMessages
Bosnian Messages
BsShortMessages
Bosnian short Messages
CaMessages
Catalan Messages
CanonicalizedMap <C , K , V >
A map whose keys are converted to canonical values of type C
.
CaseInsensitiveEquality
String equality that's insensitive to differences in ASCII case.
CaShortMessages
Catalan short Messages
CombinedIterableView <T >
A view of several iterables combined sequentially into a single iterable.
CombinedListView <T >
A view of several lists combined into a single list.
CombinedMapView <K , V >
Returns a new map that represents maps flattened into a single map.
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.
DeepCollectionEquality
Deep equality on collections.
DefaultEquality <E >
Equality of objects that compares only the natural equality of the objects.
DelegatingIterable <E >
An Iterable that delegates all operations to a base iterable.
DelegatingList <E >
A List that delegates all operations to a base list.
DelegatingMap <K , V >
A Map that delegates all operations to a base map.
DelegatingQueue <E >
A Queue that delegates all operations to a base queue.
DelegatingSet <E >
A Set that delegates all operations to a base set.
DeMessages
German Messages
DeShortMessages
German short Messages
DeviceInfoHelper
DvMessages
Divehi Messages
DvShortMessages
Divehi short Messages
EmptyEvent
The empty event
EnMessages
English Messages
EnShortMessages
English short Messages
Equality <E >
A generic equality relation on objects.
EqualityBy <E , F >
Equality of objects based on derived values.
EqualityMap <K , V >
A Map whose key equality is determined by an Equality object.
EqualitySet <E >
A Set whose key equality is determined by an Equality object.
EsMessages
Spanish Messages
EsShortMessages
Spanish short Messages
EtMessages
Estonian Messages
EtShortMessages
Estonian short Messages
EventBus
The event bus implementation
EventBusHistoryEntry
The history entry
EventCompletionEvent
The event completion event
FaMessages
Farsi Messages
FileSize
FiMessages
Finnish Messages
FiShortMessages
Finnish short Messages
FrMessages
French messages
FrShortMessages
French shott messages
GrMessages
Greek messages
GrShortMessages
Greek short messages
HeapPriorityQueue <E >
Heap based priority queue.
HeMessages
Hebrew Messages
HeShortMessages
Hebrew short Messages
HiMessages
Hindi Messages
HiShortMessages
Hindi short Messages
HrMessages
Croatian messages
HttpHelpers
HuMessages
Hungarian Messages
HuShortMessages
Hungarian short Messages
IdentityEquality <E >
Equality of objects that compares only the identity of the objects.
IdMessages
Indonesian messages
IdShortMessages
Indonesian short Messages
IEventBus
The event bus interface
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.
IterableEquality <E >
Equality on iterables.
IterableZip <T >
Iterable that iterates over lists of values from other iterables.
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
ListEquality <E >
Equality on lists.
ListSlice <E >
A list view of a range of another list.
LookupMessages
LookupMessages template for any language
LvMessages
Russian messages
LvShortMessages
MapEquality <K , V >
Equality on maps.
MapKeySet <E >
An unmodifiable Set view of the keys of a Map .
MapValueSet <K , V >
Creates a modifiable Set view of the values of a Map .
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
ModalKey <T >
showOverlay with block other show with the same ModalKey .
ModelSheetItem <T >
MsMyMessages
Malay-Malaysia messages
MsMyShortMessages
Malay-Malaysia short messages
MultiEquality <E >
Combines several equalities into a single equality.
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
NonGrowableListMixin <E >
Mixin class that implements a throwing version of all list operations that
change the List's length.
NonGrowableListView <E >
A fixed-length list.
NumberFormat
Provides the ability to format a number in a locale-specific way.
OverlaySupport
OverlaySupportEntry
OverlaySupportTheme
PhosphorIconData
PhosphorIcons
PlMessages
Polish messgages
PriorityQueue <E >
A priority queue is a priority based work-list of elements.
PtBrMessages
Portuguese-Brazil messages
PtBrShortMessages
Portuguese-Brazil short messages
QueueList <E >
A class that efficiently implements both Queue and List .
RoMessages
Romanian messages
RoShortMessages
Romanian short messages
RuMessages
Russian messages
RuShortMessages
RwMessages
Kinyarwanda Messages
RwShortMessages
Kinyarwanda short Messages
SetEquality <E >
Equality of sets.
SharedPreferences
Wraps NSUserDefaults (on iOS) and SharedPreferences (on Android), providing
a persistent store for simple data.
SharedPreferencesAsync
Provides a persistent store for simple data.
SharedPreferencesWithCache
Provides a persistent store for simple data.
SharedPreferencesWithCacheOptions
Options necessary to create a SharedPreferencesWithCache .
ShortMessages
Urdu short Messages
SlideDismissible
Can be dismiss by left or right slide.
SrMessages
Serbian Messages
SrShortMessages
Serbian short Messages
Subscription
The class manages the subscription to event bus
SvMessages
Swedish messages
SvShortMessages
Swedish Short messages
TaMessages
Tamil messages
TextDirection
Represents directionality of text.
ThemedText
ThMessages
Thai messages
ThShortMessages
Thai short messages
TkMessages
Turkish messages
Toast
ToastThemeData
Theme data for toast.
TopSlideNotification
A notification show in front of screen and shown at the top.
TransientKey <T >
The OverlaySupportEntry associated with TransientKey will be dismiss immediately
when next OverlaySupportEntry showing by showOverlay with the same key.
TrMessages
Turkish messages
TrShortMessages
Turkish short Messages
UkMessages
Ukrainian messages
UkShortMessages
UnionSet <E >
A single set that provides a view of the union over a set of sets.
UnionSetController <E >
A controller that exposes a view of the union of a collection of sets.
UnmodifiableListView <E >
An unmodifiable List view of another List.
UnmodifiableMapMixin <K , V >
Mixin class that implements a throwing version of all map operations that
change the Map.
UnmodifiableMapView <K , V >
View of a Map that disallow modifying the map.
UnmodifiableSetMixin <E >
Mixin class that implements a throwing version of all set operations that
change the Set.
UnmodifiableSetView <E >
An unmodifiable set.
UnorderedIterableEquality <E >
Equality of the elements of two iterables without considering order.
UrMessages
Urdu Messages
Uuid
uuid for Dart
Author: Yulian Kuncheff
Released under MIT License.
UuidValue
VAppAlert
VAppPick
VChatAvatarImage
VChatLogger
VCircleAvatar
VConditionalBuilder
VFileUtils
VImagePicker
VImageViewer
ViMessages
Vietnamese messages
ViShortMessages
Vietnamese short messages
VPlatformCacheImageWidget
VSearchAppBare
VStringUtils
VVideoPlayer
ZhCnMessages
Chinese-China messages
ZhMessages
Chinese messages
Functions
acmoConvertToUrduNumbers (int input )
→ String
binarySearch <E > (List <E > sortedList , E value , {int compare (E , E )? })
→ int
Returns a position of the value
in sortedList
, if it is there.
compareAsciiLowerCase (String a , String b )
→ int
Compares a
and b
lexically, converting ASCII letters to lower case.
compareAsciiLowerCaseNatural (String a , String b )
→ int
Compares strings a
and b
according to lower-case
natural sort ordering .
compareAsciiUpperCase (String a , String b )
→ int
Compares a
and b
lexically, converting ASCII letters to upper case.
compareAsciiUpperCaseNatural (String a , String b )
→ int
Compares strings a
and b
according to upper-case
natural sort ordering .
compareNatural (String a , String b )
→ int
Compares strings a
and b
according to natural sort ordering .
equalsIgnoreAsciiCase (String a , String b )
→ bool
Checks if strings a
and b
differ only on the case of ASCII letters.
extensionFromMime (String mime )
→ String ?
format (DateTime date , {String ? locale , DateTime ? clock , bool allowFromNow = false })
→ String
Formats provided date
to a fuzzy time like 'a moment ago'
groupBy <S , T > (Iterable <S > values , T key (S ) )
→ Map <T , List <S > >
Groups the elements in values
by the value returned by key
.
hashIgnoreAsciiCase (String string )
→ int
Hash code for a string which is compatible with equalsIgnoreAsciiCase .
insertionSort <E > (List <E > elements , {int compare (E , E )?, int start = 0 , int ? end })
→ void
Sort a list between start
(inclusive) and end
(exclusive) using
insertion sort.
lastBy <S , T > (Iterable <S > values , T key (S ) )
→ Map <T , S >
Associates the elements in values
by the value returned by key
.
lookupMimeType (String path , { })
→ String ?
Extract the extension from path
and use that for MIME-type lookup, using
the default extension map.
lowerBound <E > (List <E > sortedList , E value , {int compare (E , E )? })
→ int
Returns the first position in sortedList
that does not compare less than
value
.
mapMap <K1 , V1 , K2 , V2 > (Map <K1 , V1 > map , {K2 key (K1 , V1 )?, V2 value (K1 , V1 )? })
→ Map <K2 , V2 >
Creates a new map from map
with new keys and values.
maxBy <S , T > (Iterable <S > values , T orderBy (S ), {int compare (T , T )? })
→ S?
Returns the element of values
for which orderBy
returns the maximum
value.
mergeMaps <K , V > (Map <K , V > map1 , Map <K , V > map2 , {V value (V , V )? })
→ Map <K , V >
Returns a new map with all key/value pairs in both map1
and map2
.
mergeSort <E > (List <E > elements , {int start = 0 , int ? end , int compare (E , E )? })
→ void
Sorts a list between start
(inclusive) and end
(exclusive) using the
merge sort algorithm.
mime (String ? fileName )
→ String ?
mimeFromExtension (String extension )
→ String ?
minBy <S , T > (Iterable <S > values , T orderBy (S ), {int compare (T , T )? })
→ S?
Returns the element of values
for which orderBy
returns the minimum
value.
reverse <E > (List <E > elements , [int start = 0 , int ? end ])
→ void
Reverses a list, or a part of a list, in-place.
setDefaultLocale (String locale )
→ void
Sets the default locale
. By default it is en
.
setLocaleMessages (String locale , LookupMessages lookupMessages )
→ void
Sets a locale
with the provided lookupMessages
to be available when
using the format function.
showOverlay (AnimatedOverlayWidgetBuilder builder , {Curve ? curve , Duration ? duration , Key ? key , BuildContext ? context , Duration ? animationDuration , Duration ? reverseAnimationDuration })
→ OverlaySupportEntry
Basic api to show overlay widget.
showOverlayNotification (WidgetBuilder builder , {Duration ? duration , Key ? key , NotificationPosition position = NotificationPosition.top , BuildContext ? context })
→ OverlaySupportEntry
Popup a notification at the top of screen.
showSimpleNotification (Widget content , {Widget ? leading , Widget ? subtitle , Widget ? trailing , EdgeInsetsGeometry ? contentPadding , Color ? background , Color ? foreground , double elevation = 16 , Duration ? duration , Key ? key , bool autoDismiss = true , bool slideDismiss = false , NotificationPosition position = NotificationPosition.top , BuildContext ? context , DismissDirection ? slideDismissDirection })
→ OverlaySupportEntry
Show a simple notification above the top of window.
shuffle (List elements , [int start = 0 , int ? end , Random ? random ])
→ void
Shuffles a list randomly.
stronglyConnectedComponents <T > (Map <T , Iterable <T > > graph )
→ List <Set <T > >
Returns the strongly connected components of graph
, in topological
order.
toast (String message , {Duration duration = Toast.LENGTH_SHORT , BuildContext ? context })
→ void
Popup a message in front of screen.
toBeginningOfSentenceCase (String ? input , [String ? locale ])
→ String ?
Convert a string to beginning of sentence case, in a way appropriate to the
locale.
transitiveClosure <T > (Map <T , Iterable <T > > graph )
→ Map <T , Set <T > >
Returns the transitive closure of graph
.