innerlibs
library
Classes
ActionButton
AlturaInputFormatter
Formata o valor do campo com a máscara m,cm. (1,82
)
AntDesign
AntDesignIconData
AutoSizeGroup
Controller to synchronize the fontSize of multiple AutoSizeTexts.
AutoSizeGroupBuilder
A Flutter widget that provides an AutoSizeGroup to its builder function.
AutoSizeText
Flutter widget that automatically resizes text to fit perfectly within its
bounds.
AvatarImage
AwaiterData <T >
Holds and validate the data loaded by a FutureAwaiter . Optionally expires after expireDataAfter
BannerPlaceholder
BoolList
A space-efficient list of boolean values.
Bootstrap
BootstrapIconData
BoxIconData
BoxIcons
Brand
Brands
Brasil
Contém métodos uteis para varias operações relacionadas com o Brasil
CamelCaseTextFormatter
CampoListaCidade
CampoListaCidadeMap <T >
CampoListaEstado
CampoTelefone
CampoTipoPessoa
CanonicalizedMap <C , K , V >
A map whose keys are converted to canonical values of type C
.
CartaoBancarioInputFormatter
Formata o valor do campo com a máscara 0000 1111 2222 3333
.
CaseInsensitiveEquality
String equality that's insensitive to differences in ASCII case.
CentavosInputFormatter
Formata o valor do campo com a máscara 9.999.999.999,00
.
CepInputFormatter
Formata o valor do campo com a mascara de CEP XX.XXX-XXX
CertNascimentoInputFormatter
Formata o valor do campo com a mascara de Certidão de Nascimento: XXXXXX XX XX XXXX X XXXXX XXX XXXXXXX XX
CESTInputFormatter
Formata o valor do campo com a máscara CEST XX.XXX.XX
.
Cidade
Classe que representa uma cidade.
Circle
Circle-base GEO algorithms.
Clarity
ClarityIconData
ClearButton
A button that clears the current context.
CnpjAlfanumericoInputFormatter
Formata o valor do campo com a mascara de CNPJ XX.XXX.XXX/XXXX-XX
CnpjCpfField
CnpjInputFormatter
Formata o valor do campo com a mascara de CNPJ 99.999.999/9999-99
CNPJValidator
CNSInputFormatter
Formata o valor do campo com a máscara 000 1111 2222 3333
.
ColorUtils
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.
ContentPlaceholder
ContextButtonBase
A base class for context buttons with a label and an icon.
CpfInputFormatter
Formata o valor do campo com a mascara de CPF: XXX.XXX.XXX-XX
CpfOuCnpjAlfanumericoFormatter
CpfOuCnpjFormatter
CPFValidator
CupertinoDatePickerModalSheet
CupertinoDatePickerOptions
Options to customize the CupertinoDatePicker .
CupertinoDatePickerOptionsStyle
CustomCalendar
const CustomCalendar({ Key? key, this.initialStartDate, this.initialEndDate, this.startEndDateChange, this.minimumDate, this.maximumDate, required this.primaryColor, })
CustomCalendarState
CustomDateRangePicker
A custom date range picker widget that allows users to select a date range.
const CustomDateRangePicker({ Key? key, this.initialStartDate, this.initialEndDate, required this.primaryColor, required this.backgroundColor, required this.onApplyClick, this.barrierDismissible = true, required this.minimumDate, required this.maximumDate, required this.onCancelClick, })
CustomDateRangePickerState
Dao
A class representing a Data Access Object (DAO) for executing SQL queries and operations.
DataInputFormatter
Formata o valor do campo com a mascara de data 01/01/1900
.
DateField
DateRange
Represents a range of dates.
DateTimeField
DateTimeField
DateTimeFormField
A FormField that contains a DateTimeField .
DateTimePickerFormField
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.
DeleteButton
A button that deletes the current context.
DigitalClock
A digital clock widget that displays the current time.
Distance
Calculates the distance between points.
DistanceCalculator
DistanceHaversine
Shortcut for
final Distance distance = const Distance(calculator: const Haversine());
DistanceVincenty
Shortcut for
final Distance distance = const Distance(calculator: const Vincenty());
EmptyScaffold
EmptyWidget
{@tool snippet}
Endereco
Classe que representa um endereço no Brasil
EnumField <T extends Enum >
Equality <E >
A generic equality relation on objects.
EqualityBy <E , F >
Equality of objects based on derived values.
EqualityComparer <T >
Used in various iteration methods for allowing user-defined comparisons
between complex elements.
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.
EvaIconData
EvaIcons
ExpandableFab
FabSave <T >
A floating action button for saving or registering.
FabSearch
A floating action button for searching.
FabTextBase
A base class for floating action buttons with a label and an icon.
FilterFunctions
A mixin that provides various filter functions for searching and filtering data.
Flag
Flags
FontAwesome
FontAwesomeIconData
FutureAwaiter <T >
Wraps a FutureBuilder into a Widget and add some data validations, making it easier to use.
Gap
A widget that takes a fixed amount of space in the direction of its parent.
GroupByIterable <TSource , TKey >
This class is created by calls to Iterable.groupBy
and isn't intended to be
instantiated directly.
GroupByValueIterable <TSource , TKey , TValue >
This class is created by calls to Iterable.groupByValue
and isn't intended to be
instantiated directly.
Grouping <TKey , TValue >
This class is created by calls to grouping Iterable
methods and isn't
intended to be instantiated directly.
GroupJoinIterable <TSource , TInner , TKey , TResult >
This class is created by calls to Iterable.groupJoin
and isn't intended to be
instantiated directly.
GroupJoinIterator <TSource , TInner , TKey , TResult >
This class is created by calls to Iterable.groupJoinIterator
and isn't intended to be
instantiated directly.
GroupSelectIterable <TSource , TKey , TResult >
This class is created by calls to Iterable.groupSelectIterable
and isn't intended to be
instantiated directly.
GroupSelectValueIterable <TSource , TKey , TValue , TResult >
This class is created by calls to Iterable.groupSelectValueIterable
and isn't intended to be
instantiated directly.
Haversine
HeapPriorityQueue <E >
Heap based priority queue.
HeroIconData
HeroIcons
HoraInputFormatter
Formata o valor do campo com a máscara de hora HH:mm
IconCard
Iconsax
IconsaxIconData
IdentityEquality <E >
Equality of objects that compares only the identity of the objects.
ILookup <TKey , TValue >
ImageCard
ImageOfWidget
ImageSize
ImageSize is used to change the size of the widget.
InfoUsuario
Classe que representa as informações de um usuário.
InnerDebounce
A static class for handling method call debouncing.
InnerLibsLocalizations
Callers can lookup localized strings with an instance of InnerLibsLocalizations
returned by InnerLibsLocalizations.of(context)
.
InternalIterableSorter <TValue , TKey >
This class is created by calls to Iterable.orderBy
(and related) and isn't
intended to be instantiated directly.
InternalOrderedIterable <TValue , TKey >
This class is created by calls to Iterable.orderBy
(and related) and isn't
intended to be instantiated directly.
IOFInputFormatter
Formata o valor do campo com a máscara 1,234567
IonIconData
IonIcons
IterableEquality <E >
Equality on iterables.
IterableSorter <T >
IterableZip <T >
Iterable that iterates over lists of values from other iterables.
KeyedJsonTable <T extends Comparable >
A class representing a keyed JSON table.
KmInputFormatter
Formata o valor do campo com a máscara de 000.000
.
LatLng
Coordinates in Degrees
LatLngTime
LengthUnit
LicensePlate
LicensePlateFormatter
LineAwesome
LineAwesomeIconData
ListEquality <E >
Equality on lists.
ListLoading
ListSlice <E >
A list view of a range of another list.
Lookup <TKey , TValue >
This is a utility class used by grouping Iterable
methods and isn't
intended to be instantiated directly.
LowerCaseTextFormatter
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 .
MaterialDatePickerOptions
Options to configure the DatePickerDialog .
MaterialTimePickerOptions
Options to configure the TimePickerDialog .
MaxGap
A widget that takes, at most, an amount of space in a Row , Column ,
or Flex widget.
MemoizedIterable <T >
MercosulPlate
A widget that draws a Mercosul plate on the screen.
Meses
Possui a lista com todos os meses do ano.
MilkTruck
A widget to draw a Milk Truck.
MingCute
MingCuteIconData
MinSize
Starts scrolling child vertically and horizontally when the widget sizes
reaches below minWidth or minHeight
MultiEquality <E >
Combines several equalities into a single equality.
NCMInputFormatter
Formata o valor do campo com a máscara de NCM: XXXX.XX.XX
Nil
A widget which is not in the layout and does nothing.
It is useful when you have to return a widget and can't return null.
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.
NumberInputFormatter
NUPInputFormatter
Formata o valor do campo com a máscara de NUP (Numeração Única de Processos): XXXXXXX-XX.XXXX.X.XX.XXXX
Referência: Documentação CNJ
OctIconData
OctIcons
OEmbed
Represents an oEmbed provider.
OEmbedData
Represents the data returned by an oEmbed request.
OEmbedEndpoint
Represents an OEmbed endpoint.
OrderedBuffer <T >
This class is created by calls to Iterable.orderBy
(and related) and isn't
intended to be instantiated directly.
OrderedIterable <T >
PageEntry
Represents a page entry with various properties and methods.
PageTabController
A controller class for managing the state of a scaffold builder.
PageTabScaffold <T >
A scaffold widget that supports pages and tabs.
PascalCaseTextFormatter
PercentFormatter
PesoInputFormatter
Formata o valor do campo com a mascara kg,g (ex: 103,8
)
PixelArtIconData
PixelArtIcons
PlacaVeiculoInputFormatter
Formata o valor do campo com a máscara de veículos XXX-XXXX
.
PlateCategory
PriorityQueue <E >
A priority queue is a priority based work-list of elements.
QueueList <E >
A class that efficiently implements both Queue and List .
RangeIterable
Creates an iterable whose elements represent a range of
integral values.
RealInputFormatter
Formata o valor do campo com a máscara 999.999.999.999
.
Regioes
Possui a lista com todas as regiões do Brasil.
RegisterButton
A button that registers the current context.
RepeatIterable <T >
Creates an iterable whose elements are a single value
repeated a specified number of times.
Responsive
A widget that displays different child widgets based on the screen size.
ResponsiveColumn
ResponsiveList
ResponsiveRow
SaveButton
A button that saves the current context.
SelfMap <K , V >
A map implementation that uses a function to generate keys for each value.
Semana
Possui a lista com os dias da semana.
SetEquality <E >
Equality of sets.
Shimmer
A widget renders shimmer effect over child widget tree.
ShimmerState
SliverGap
A sliver that takes a fixed amount of space.
SQLResponse
SQLResponseOf <T extends Object ? >
SquareIconCard
A simple card with an icon, title and subtitle.
Its follows the current theme color scheme if no color is provided
TabEntry
Represents a tab entry with various properties and methods.
TagXml
Represents an XML tag that can behave like a POCO class and implement validations and computations
Just extend this class and point your gettes and setters to the XML nodes using getValueFromNode
and setValueForNode
TeenyIconData
TeenyIcons
Telefone
Classe que representa um número de telefone.
TelefoneInputFormatter
Formata o valor do campo com a máscara (99) 99999-9999
.
TemperaturaInputFormatter
Formata o valor do campo com a mascara °C (ex: 10,8
).
ThreeLettersPlate
A widget that prints a license plate in the
"three letters pattern" on the screen.
TitleCaseTextFormatter
TitleLoading
TitlePlaceholder
Tuple
Tuple0
A finite fixed-length ordered list containing 0 dynamically-typed elements.
Tuple1 <T >
A finite fixed-length ordered list containing 1 dynamically-typed element.
Tuple2 <T0 , T1 >
A finite fixed-length ordered list containing 2 dynamically-typed elements.
Tuple3 <T0 , T1 , T2 >
A finite fixed-length ordered list containing 3 dynamically-typed elements.
Tuple4 <T0 , T1 , T2 , T3 >
A finite fixed-length ordered list containing 4 dynamically-typed elements.
Tuple5 <T0 , T1 , T2 , T3 , T4 >
A finite fixed-length ordered list containing 5 dynamically-typed elements.
Tuple6 <T0 , T1 , T2 , T3 , T4 , T5 >
A finite fixed-length ordered list containing 6 dynamically-typed elements.
Tuple7 <T0 , T1 , T2 , T3 , T4 , T5 , T6 >
A finite fixed-length ordered list containing 7 dynamically-typed elements.
Tuple8 <T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 >
A finite fixed-length ordered list containing 8 dynamically-typed elements.
Tuple9 <T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 >
A finite fixed-length ordered list containing 9 dynamically-typed elements.
TwoLettersPlate
A widget that prints a license plate in
the "two letters pattern" on the screen.
TypeTag <T extends TagXml >
Represents a tag that uses his type as tagName.
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.
UpperCaseTextFormatter
UtilBrasilFields
UtilData
Classe para manipular datas.
ValidadeCartaoInputFormatter
Formata o valor do campo com a máscara MM/AA
ou MM/AAAA
.
Validator
The Validator
class is used to implement validation logic in other classes.
ValueField <T >
ValueFieldState <T >
Vincenty
YesNoField
ZondIconData
ZondIcons
Mixins
DateUtils
SqlUtil
A mixin that provides utility functions for working with SQL.
Extensions
AggregateExtension
on Iterable <T >
AggregateRightExtension
on Iterable <T >
AggregateRightSelectExtension
on Iterable <T >
AggregateSelectExtension
on Iterable <T >
AlignExtensions
on Widget
Extension methods for the Widget class to provide convenient alignment options.
AlignmentExtensions
on Alignment
AlignmentGeometryExtensions
on T
AllExtension
on Iterable <T >
AppendAllExtension
on Iterable <T >
AppendExtension
on Iterable <T >
AssertAllExtension
on Iterable <T >
AssertAnyExtension
on Iterable <T >
AssertCountExtension
on Iterable <T >
AtLeastExtension
on Iterable <T >
AtMostExtension
on Iterable <T >
AverageExtension
on Iterable <T >
AwaitAllExtension
on Iterable <Future <T > >
AwaitAnyExtension
on Iterable <Future <T > >
BatchExtension
on Iterable <T >
BatchSelectExtension
on Iterable <T >
BetweenExtension
on Iterable <T >
BooleanExtensions
on bool ?
BrasilFieldsDouble
on double
BrasilFieldsInt
on int
BuildContextExtensions
on BuildContext
CartesianExtension
on Iterable <T >
CartesianSelectExtension
on Iterable <T >
CenterExtension
on Widget
ColorExtensions
on T
ComparatorExtension
on Comparator <T >
Extensions on comparator functions.
CompareAndSwap
on T
Extension method that compares two values and swaps them if necessary.
CompareCountExtension
on Iterable <T >
ConcatAllExtension
on Iterable <T >
ConcatExtension
on Iterable <T >
ConsumeExtension
on Iterable <T >
ContainerExtensions
on Container
CountByExtension
on Iterable <T >
DarqMapExtension
on Map <TKey , TValue >
DarqStringExtension
on String
Provides the extension methods on String
.
DateTimeExtensions
on DateTime
Extension methods for the DateTime
class.
Deconstruct1Extension
on Iterable <(T ) >
Deconstruct2Extension
on Iterable <(T1 , T2 ) >
Deconstruct3Extension
on Iterable <(T1 , T2 , T3 ) >
Deconstruct4Extension
on Iterable <(T1 , T2 , T3 , T4 ) >
Deconstruct5Extension
on Iterable <(T1 , T2 , T3 , T4 , T5 ) >
Deconstruct6Extension
on Iterable <(T1 , T2 , T3 , T4 , T5 , T6 ) >
Deconstruct7Extension
on Iterable <(T1 , T2 , T3 , T4 , T5 , T6 , T7 ) >
Deconstruct8Extension
on Iterable <(T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 ) >
Deconstruct9Extension
on Iterable <(T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 ) >
DefaultIfEmptyExtension
on Iterable <T >
DefaultRangeIfEmptyExtension
on Iterable <T >
DialogExt
on BuildContext
DirectoryExtensionPlus
on Directory
DistinctExtension
on Iterable <T >
DurationExtensions
on Duration
EdgeInsetsExtensionsForNum
on num
Extension methods for num to create EdgeInsets from different directions.
ElementAtOrDefaultExtension
on Iterable <T >
EndsWithExtension
on Iterable <T >
ExceptExtension
on Iterable <T >
ExcludeAtExtension
on Iterable <T >
ExcludeExtension
on Iterable <T >
ExcludeRangeExtension
on Iterable <T >
ExpandedExtension
on Widget
FileExtensionPlus
on File
FileSystemEntityExtensionPlus
on FileSystemEntity
FillBackwardExtension
on Iterable <T? >
FillForwardExtension
on Iterable <T? >
FillMissingExtension
on Iterable <T? >
FirstOrDefaultExtension
on Iterable <T >
FirstWhereOrDefaultExtension
on Iterable <T >
FlattenExtension
on Iterable <Iterable <T > >
FlexibleExtension
on Widget
GestureDetectorExtensions
on Widget ?
GroupByExtension
on Iterable <T >
GroupByValueExtension
on Iterable <T >
GroupJoinExtension
on Iterable <T >
GroupSelectExtension
on Iterable <T >
GroupSelectValueExtension
on Iterable <T >
Iconextension
on IconData ?
IndexExtension
on Iterable <T >
InsertAllExtension
on Iterable <T >
InsertExtension
on Iterable <T >
InsertionIterableExtensions
on Iterable <T >
InsertOrAppendAll
on Iterable <T >
InsertOrAppendExtension
on Iterable <T >
InterleaveAllExtension
on Iterable <T >
InterleaveExtension
on Iterable <T >
IntersectExtension
on Iterable <T >
IterableComparableExtension
on Iterable <T >
Extensions that apply to iterables of Comparable elements.
IterableDoubleExtension
on Iterable <double >
Extension on iterables of double.
IterableExtension
on Iterable <T >
Extensions that apply to all iterables.
IterableIntegerExtension
on Iterable <int >
Extension on iterables of integers.
IterableIterableExtension
on Iterable <Iterable <T > >
Extensions on iterables whose elements are also iterables.
IterableNullableExtension
on Iterable <T? >
Extensions that apply to iterables with a nullable element type.
IterableNumberExtension
on Iterable <num >
Extensions that apply to iterables of numbers.
IterablesExtension
on Iterable <T >
Adds extensions to the List
class
IterableString
on Iterable <String >
JoinMapExtension
on Iterable <T >
KeyboardExtensions
on KeyEvent
LagExtension
on Iterable <T >
LagSelectExtension
on Iterable <T >
LastOrDefaultExtension
on Iterable <T >
LastWhereOrDefaultExtension
on Iterable <T >
LeadExtension
on Iterable <T >
LeadSelectExtension
on Iterable <T >
ListComparableExtensions
on List <E >
Various extensions on lists of comparable elements.
ListExtension2
on List <T >
ListExtensions
on List <E >
Various extensions on lists of arbitrary elements.
ListMapExtension
on JsonTable
MapExtensions
on Map <K , V >
MapSearch
on Iterable <Map <K , V > >
MathConsumerExtensions
on Iterable <T >
MaxExtension
on Iterable <T >
MemoizeExtension
on Iterable <T >
MinExtension
on Iterable <T >
MoveExtension
on Iterable <T >
NonNullExtension
on Iterable <T? >
NullStringExtension
on String ?
NumExtensions2
on T
NumNullExtensions
on T
Extension methods for nullable numbers.
ObjectExtensions
on T
OfTypeExtension
on Iterable <T >
OpacityExtension
on Widget
OrderByDescendingExtension
on Iterable <T >
OrderByExtension
on Iterable <T >
PaddingX
on Widget
PadEndExtension
on Iterable <T >
PairwiseExtension
on Iterable <T >
PartitionExtension
on Iterable <T >
PermutationsExtension
on Iterable <T >
PixelConverter
on num
PositionedExtensions
on Widget
PrependAllExtension
on Iterable <T >
PrependExtension
on Iterable <T >
PreScanExtension
on Iterable <T >
RandomizeExtension
on Iterable <T >
RandomSubsetExtension
on Iterable <T >
RepeatExtension
on Iterable <T >
ReverseExtension
on Iterable <T >
ScanExtension
on Iterable <T >
SelectExtension
on Iterable <T >
SelectManyExtension
on Iterable <T >
SequenceEqualsExtension
on Iterable <T >
SequenceEqualsSelectExtension
on Iterable <T >
ShimmerEffect
on Widget
SingleOrDefaultExtension
on Iterable <T >
SingleWhereOrDefaultExtension
on Iterable <T >
SizeBoxExtension
on num
SizeExtensions
on Size
SkipLastExtension
on Iterable <T >
SplitExtension
on Iterable <T >
SqlRowExtensions
on JsonRow
StartsWithExtension
on Iterable <T >
StringExtensions
on String
StyledText
on T
SubsetsExtension
on Iterable <T >
SumExtension
on Iterable <T >
TakeEveryExtension
on Iterable <T >
TakeLastExtension
on Iterable <T >
TextAlignExtensions
on TextAlign
TextEditingControllerExtensions
on TextEditingController
Extension on TextEditingController to provide additional functionalities.
TextEditingValueExtensions
on TextEditingValue
ThemeExt
on BuildContext
ThenByDescendingExtension
on Iterable <T >
ThenByExtension
on Iterable <T >
ToHashMapExtension
on Iterable <T >
ToLinkedHashMapExtension
on Iterable <T >
ToMapExtension
on Iterable <T >
ToSplayTreeMapExtension
on Iterable <T >
ToStreamExtension
on Iterable <T >
TryAggregateExtension
on Iterable <T >
TryAggregateRightExtension
on Iterable <T >
TryInsertAllExtension
on Iterable <T >
TryInsertExtension
on Iterable <T >
TrySingleOrDefaultExtension
on Iterable <T >
TrySingleWhereOrDefaultExtension
on Iterable <T >
TxtStyle
on TextStyle
UnionExtension
on Iterable <T >
ValidatorClassExtensions
on Validator
WidgetExt
on Widget
WidgetsExtension
on Widget
WidgetsToImageKey
on GlobalKey <State <StatefulWidget > >
ZipExtension
on Iterable <T >
Properties
alphaChars
→ Iterable <string >
Chars from Aa to Zz
no setter
alphaLowerChars
→ Iterable <string >
Chars from a to z
no setter
alphaNumericChars
→ Iterable <string >
Chars from Aa to Zz and Numbers (0 to 9)
no setter
alphaNumericSpecialChars
→ Iterable <string >
no setter
alphaUpperChars
→ Iterable <string >
Chars from A to Z
no setter
breakLine
→ string
Break Line char
no setter
breakline
→ string
no setter
breaklineChars
→ Iterable <string >
Line feed and carriage retrun
no setter
closeWrappers
→ Iterable <string >
Double-Quotes, Single-Quotes, Close Brackets etc
no setter
consonants
→ Iterable <string >
Upper and lower case consonants
no setter
emailChars
→ Iterable <string >
no setter
endOfSentenceChars
→ Iterable <string >
Dot, Question mark and Exclamation Mark
no setter
greekChars
→ Iterable <string >
no setter
greekToLatin
→ Map <String , String >
no setter
identChars
→ Iterable <string >
Ident char (tab)
no setter
invisibleChars
→ Iterable <string >
Invisible char (white space, line feed, ident, carriage return)
no setter
isAndroid
→ bool
Checks if the platform is Android.
no setter
isApple
→ bool
Checks if the platform is Apple (iOS or macOS).
no setter
isDesktop
→ bool
Checks if the platform is a desktop (macOS, Windows, or Linux).
no setter
isFuchsia
→ bool
Checks if the platform is Fuchsia.
no setter
isGoogle
→ bool
Checks if the platform is a Google platform (Android or Fuchsia).
no setter
isIOS
→ bool
Checks if the platform is iOS.
no setter
isLinux
→ bool
Checks if the platform is Linux.
no setter
isMacOS
→ bool
Checks if the platform is macOS.
no setter
isMobile
→ bool
Checks if the platform is a mobile platform (iOS or Android).
no setter
isNativeAndroid
→ bool
Checks if the platform is native Android (not web).
no setter
isNativeApple
→ bool
Checks if the platform is native Apple (not web).
no setter
isNativeDesktop
→ bool
Checks if the platform is native desktop (not web).
no setter
isNativeFuchsia
→ bool
Checks if the platform is native Fuchsia (not web).
no setter
isNativeGoogle
→ bool
Checks if the platform is native Google (not web).
no setter
isNativeIOS
→ bool
Checks if the platform is native iOS (not web).
no setter
isNativeLinux
→ bool
Checks if the platform is native Linux (not web).
no setter
isNativeMacOS
→ bool
Checks if the platform is native macOS (not web).
no setter
isNativeMobile
→ bool
Checks if the platform is native mobile (not web).
no setter
isNativeWindows
→ bool
Checks if the platform is native Windows (not web).
no setter
isPlatformDarkMode
→ bool
Checks if the platform is in dark mode.
no setter
isPlatformLightMode
→ bool
Checks if the platform is in light mode.
no setter
isWeb
→ bool
Checks if the platform is web.
no setter
isWindows
→ bool
Checks if the platform is Windows.
no setter
lastWeek
→ date
Returns a date representing the last week.
no setter
leetAlphabet
→ Map <String , StringList >
no setter
lowerConsonants
→ Iterable <string >
Lower consonants
no setter
lowerVowels
→ Iterable <string >
Lower vowels
no setter
mathOperators
→ Iterable <string >
no setter
maxDate
→ date
Returns the maximum date value.
no setter
midSentenceChars
→ Iterable <string >
Semicolon, colon and comma
no setter
minDate
→ date
Returns the minimum date value.
no setter
now
→ date
Returns the current date and time.
no setter
numberChars
→ Iterable <string >
Numbers from 0 to 9
no setter
openCloseWrappers
→ Iterable <(string , string ) >
no setter
openWrappers
→ Iterable <String >
Double-Quotes, Single-Quotes, Open Brackets etc
no setter
platformBrightness
→ Brightness
Returns the platform brightness of the device.
no setter
platformDispatcher
→ PlatformDispatcher
Returns the platform dispatcher of the device.
no setter
platformLocale
→ Locale
Returns the locale of the platform.
no setter
platformLocaleCode
→ String
Returns the language code of the platform locale.
no setter
platformLocales
→ Iterable <Locale >
no setter
quotes
→ Iterable <string >
Double-Quotes, Single-Quotes and Back-Ticks
no setter
slashChars
→ Iterable <string >
no setter
specialChars
→ Iterable <string >
no setter
thisYear
→ int
Returns the current year
no setter
today
→ date
Returns the date representing today.
no setter
tomorrow
→ date
Returns the date representing tomorrow.
no setter
upperConsonants
→ Iterable <string >
Upper consonants
no setter
upperVowels
→ Iterable <string >
Upper vowels
no setter
vowels
→ Iterable <string >
Upper and lower vowels
no setter
whiteSpaceChars
→ Iterable <string >
White space char
no setter
whiteSpaceOrBreakChars
→ Iterable <string >
no setter
wordSplitters
→ Iterable <string >
no setter
wrappers
→ Iterable <string >
Double-Quotes, Single-Quotes, Open and Close Brackets etc
no setter
yesterday
→ date
Returns the date representing yesterday.
no setter
Functions
binarySearch <E > (List <E > sortedList , E value , {int compare (E , E )? })
→ int
Returns a position of the value
in sortedList
, if it is there.
categoryIcon (String category )
→ IconData
Returns the IconData associated with the given app category
.
changeTo <R > (dynamic value , [String ? locale ])
→ R
Try change a value of any type into a value of type R
.
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 .
consoleLog <T > (T message , {DateTime ? time , int ? sequenceNumber , int level = 0 , String name = '' , Zone ? zone , Object ? error , StackTrace ? stackTrace })
→ T
Logs a object to the console if the app is running in debug mode.
decimal2sexagesimal (double dec )
→ String
Converts a decimal coordinate value to sexagesimal format
degToRadian (double deg )
→ double
Converts degree to radian
detect24HourFormat (BuildContext context )
→ bool
A function that returns a boolean value to determine if the 24-hour format
should be used based on the current locale.
equalsIgnoreAsciiCase (String a , String b )
→ bool
Checks if strings a
and b
differ only on the case of ASCII letters.
flatString (dynamic value )
→ String
Converts a dynamic value to a flat string representation.
forceList (dynamic item )
→ List
Ensure the given item
is a List.
forceListOf <T > (dynamic item )
→ List <T >
Ensure the given item
is a List of type T
.
forceRecursiveList (dynamic item )
→ List
Ensure the given item
is a List.
forceRecursiveListOf <T > (dynamic item )
→ List <T >
forceRecursiveSet (dynamic item )
→ Set
forceRecursiveSetOf <T > (dynamic item )
→ Set <T >
forceSet (dynamic item )
→ Set
Converts a dynamic value to a Set .
forceSetOf <T > (dynamic item )
→ Set <T >
Converts a dynamic value to a Set of type T
.
forceWidget (dynamic item , {TextStyle ? style , StrutStyle ? strutStyle , TextAlign ? textAlign , TextDirection ? textDirection , Locale ? locale , bool ? softWrap , TextOverflow ? overflow , TextScaler ? textScaler , int ? maxLines , String ? semanticsLabel , TextWidthBasis ? textWidthBasis , bool validate = true , String ? defaultText , BoxFit ? fit , AlignmentGeometry ? alignment , ResponsiveColumn ? columnSizes })
→ Widget ?
A utility extension method that allows forcing a widget to be returned,
with optional customization of its properties.
generateKeyword (dynamic value , {bool splitCamelCase = true , bool removeWordSplitters = true , bool removeDiacritics = true , bool forceLowerCase = true })
→ String
Generates a keyword from the given value
.
getBreakpointValue <V extends Comparable , T > (V value , Map <V , T > breakpoints )
→ T
Returns the value associated with the highest breakpoint that is less than or equal to the given value
.
hashIgnoreAsciiCase (String string )
→ int
Hash code for a string which is compatible with equalsIgnoreAsciiCase .
identArrow ({required int length , String pattern = " " })
→ String
Generates a arrow or ident string with a specified length and pattern.
innerLibsInit ()
→ Future <void >
Initializes the inner libraries.
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.
isNotValid <T > (T object , {Iterable <bool > customValidator (T? )? })
→ bool
Checks if the given object
is not valid (see isValid function).
isNullable <T > ()
→ bool
Checks if the types T
is nullable (equal T?)
isSameType <T , S > ()
→ bool
Checks if the types T
and S
are equal. Ignore nullability.
isValid <T > (T? object , {Iterable <bool > customValidator (T? )? })
→ bool
Checks if object
has a valid value.
lastBy <S , T > (Iterable <S > values , T key (S ) )
→ Map <T , S >
Associates the elements in values
by the value returned by key
.
lookupInnerLibsLocalizations (Locale locale )
→ InnerLibsLocalizations
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.
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.
normalizeBearing (double bearing )
→ double
Convert a bearing to be within the 0 to +360 degrees range.
Compass bearing is in the rangen 0° ... 360°
outlineInputStyle (BuildContext context , [string ? label , IconData ? icon , void onIconTap ()?, Color ? color , dynamic suffixIcon , void onSuffixIconTap ()?, InputDecoration ? other ])
→ InputDecoration
radianToDeg (double rad )
→ double
Radian to degree
randomBool ()
→ bool
randomBoolWithFactor ([int trueFactor = 50 ])
→ bool
Generates a random boolean value based on the specified trueFactor
.
The trueFactor
is a percentage value between 1 and 100 that determines the likelihood of the boolean being true.
randomDouble ([double min = 0 , double max = 999999 ])
→ double
Generates a random double between the specified min
and max
values.
randomInt ([int min = 0 , int max = 999999 ])
→ int
Generates a random integer between the specified min
and max
values.
randomPercent ([int min = 0 , int max = 100 ])
→ double
Generates a random double between the specified min
and max
percent values.
randomString ([int length = 10 ])
→ String
Generates a random string of the specified length
.
The generated string consists of random alphanumeric and special characters.
randomWord ([int length = 0 ])
→ String
Generates a random string of the specified length
.
If the length
is not provided, a random length between 2 and 15 is used.
The generated string consists of random consonants and vowels in a pronounceable order.
reverse <E > (List <E > elements , [int start = 0 , int ? end ])
→ void
Reverses a list, or a part of a list, in-place.
round (double value , {int decimals = 6 })
→ double
Rounds value
to given number of decimals
sexagesimal2decimal (String str )
→ double
Converts a string coordinate value in sexagesimal format to decimal
showAdaptiveDateTimePicker ({required BuildContext context , required DateTimeFieldPickerMode mode , DateTimeFieldPickerPlatform ? pickerPlatform , DateTime ? initialPickerDateTime , DateTime ? firstDate , DateTime ? lastDate , CupertinoDatePickerOptions cupertinoDatePickerOptions = const CupertinoDatePickerOptions() , MaterialDatePickerOptions materialDatePickerOptions = const MaterialDatePickerOptions() , MaterialTimePickerOptions materialTimePickerOptions = const MaterialTimePickerOptions() })
→ Future <DateTime ? >
Displays an adaptive date and time picker based on the current platform.
showCupertinoDateTimePicker ({required BuildContext context , required DateTimeFieldPickerMode mode , DateTime ? initialPickerDateTime , DateTime ? firstDate , DateTime ? lastDate , CupertinoDatePickerOptions cupertinoDatePickerOptions = const CupertinoDatePickerOptions() })
→ Future <DateTime ? >
Displays a Cupertino-style date and time picker in a modal popup.
showCustomDateRangePicker (BuildContext context , {required bool dismissible , required DateTime minimumDate , required DateTime maximumDate , DateRange ? value , required dynamic onApplyClick (DateRange ? ), required dynamic onCancelClick (), required Color backgroundColor , required Color primaryColor , String ? fontFamily , double ? width , double ? height })
→ void
Displays a custom date range picker dialog box.
context
The context in which to show the dialog.
dismissible
A boolean value indicating whether the dialog can be dismissed by tapping outside of it.
minimumDate
A DateTime object representing the minimum allowable date that can be selected in the date range picker.
maximumDate
A DateTime object representing the maximum allowable date that can be selected in the date range picker.
startDate
A nullable DateTime object representing the initial start date of the date range selection.
endDate
A nullable DateTime object representing the initial end date of the date range selection.
onApplyClick
A function that takes two DateTime parameters representing the selected start and end dates, respectively, and is called when the user taps the "Apply" button.
onCancelClick
A function that is called when the user taps the "Cancel" button.
backgroundColor
The background color of the dialog.
primaryColor
The primary color of the dialog.
fontFamily
The font family to use for the text in the dialog.
showMaterialDateTimePicker ({required BuildContext context , required DateTimeFieldPickerMode mode , DateTime ? initialPickerDateTime , DateTime ? firstDate , DateTime ? lastDate , MaterialDatePickerOptions materialDatePickerOptions = const MaterialDatePickerOptions() , MaterialTimePickerOptions materialTimePickerOptions = const MaterialTimePickerOptions() })
→ Future <DateTime ? >
Displays a Material-style date and time picker in a modal popup.
The context
parameter is required to provide the necessary context for
the picker. The mode
parameter specifies whether to show a date, time,
or both date and time picker. The initialPickerDateTime
parameter sets
the initial date and time to be displayed by the picker.
shuffle (List elements , [int start = 0 , int ? end , Random ? random ])
→ void
Shuffles a list randomly.
sizeFromAspect ({required String aspectRatio , double ? width , double ? height })
→ Size
Calculates the size based on the aspect ratio and optional width and height.
stronglyConnectedComponents <T > (Map <T , Iterable <T > > graph )
→ List <Set <T > >
Returns the strongly connected components of graph
, in topological
order.
transitiveClosure <T > (Map <T , Iterable <T > > graph )
→ Map <T , Set <T > >
Returns the transitive closure of graph
.
typeOf <T > ()
→ Type
Returns the type of T
.
valid <T > (T value , List <bool > validations (T? )?, [string ? throwErrorMessage ])
→ T?
Validates a value of type T
using a list of validation functions.
The value
is considered valid if at least one of the validation functions returns true
.
If the value is valid, it is returned; otherwise, null
is returned.
zeroPad (num number )
→ String
Pads a number with a single zero, if it is less than 10
Typedefs
bytes
= Uint8List
Comparer <T >
= bool Function(T left , T right )
Takes two elements of type T
and checks them for equality, returning true
if the elements are equal and false
otherwise.
date
= DateTime
decimal
= double
C# alias for double
DecimalField
= ValueField <decimal >
Dictionary <K , V >
= Map <K , V >
C# Alias for Map<K, V>
DirectoryInfo
= Directory
C# alias for Directory
DoubleField
= ValueField <double >
DoubleList
= List <double >
Estados
= Estado
FileBytes
= bytes
FileInfo
= File
C# alias for File
GroupedJsonTable <T >
= Map <T , JsonTable >
Alias for Map<T, List<Map<String, dynamic>>> , used to group JsonTable s
Hasher <T >
= int Function(T value )
Takes an element of type T
and computes its hash code, returning the code's
integer value.
IEnumerable
= Iterable
C# alias for Iterable
IntField
= ValueField <int >
IntList
= List <int >
JsonMap
= Map <String , dynamic >
Alias for Map<String, dynamic> , used in most Json serializations
JsonRow
= JsonMap
Alias for Map<String, dynamic> , used to represent a row in a data table
JsonTable
= List <JsonRow >
Alias for List<Map<String, dynamic>> , used to represent a data table
JsonTableSet
= List <JsonTable >
Alias for List<List<Map<String, dynamic>>> , used to represent a set of data tables
KeyCharSearches <T >
= Map <string , bool Function(string search , T item ) >
LatitudeLongitude
= LatLng
LatLngFactory
= LatLng Function(double latitude , double longitude )
Necessary for creating new instances T extends LatLng (Path
LatLongPath
= Path<LatLng >
money
= decimal
NamedColors
= NamedColor
A Enum containing all the named colors.
NumField
= ValueField <num >
OEmbedProviders
= List <OEmbed >
PageEntries
= List <PageEntry >
A list of page entries.
ScreenTierMap <T >
= Map <T , ScreenTier >
SearchOnFunction <T >
= Iterable Function(T item )
Sorter <T >
= int Function(T left , T right )
Takes two values of type T
and computes their sort order, represented by
a returned integer value.
string
= String
C# alias for String
StringField
= ValueField <string >
StringList
= List <String >
TabEntries
= List <TabEntry >
A list of tab entries.
WidgetsToImage
= RepaintBoundary
WidgetToImage
= RepaintBoundary
Exceptions / Errors
InvalidException
Represents an exception that is thrown when an invalid condition is encountered.