EsigUtils class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
addParams(Map<String, dynamic> map, Map<String, dynamic> objects)
→ Map<String, dynamic>
-
-
compactCurrencyBRFormat(double valor)
→ String
-
Ex: 72.123 vira '72,1K'
-72.123.123 vira '-72,1M'
-
convertToMd5(String text)
→ String
-
Usado em senhas
-
convertToReal(double valor)
→ String
-
-
formatCpfCnpj(int cpfCnpj)
→ String
-
Recebe um inteiro que representa ou um CPF ou um CNPJ. Itentifica do que
se trata com base na quantidade de dígitos.
-
showSnackBar(String mensagem, Color bgColor, BuildContext context, {Duration? duration, IconData? icon, double? bottomPadding})
→ void
-
-
textoSeparado(String? s1, String? s2, String? separador)
→ String
-
Retorna String "
separador
s2
", quando s1
e s2
são não nulos.
Retorna somente uma das Strings quando a outra for nula.