vuitv 3.27.0 copy "vuitv: ^3.27.0" to clipboard
vuitv: ^3.27.0 copied to clipboard

A flutter project code base created by VuiTv ................

🧑‍💻 vuitv code base #

Pub style: very good analysis License: MIT

A collection of utilities and formatters for Flutter applications, created by VuiTv 🤖

Setup #

Add to your pubspec.yaml:

dependencies:
  vuitv: ^3.22.0

Features #

Text Input Formatters #

  • Currency formatting (USD, VND)
  • Phone number formatting (US and Vietnamese formats)
  • Hex color input
  • Text capitalization
  • Number formatting

Examples #

Currency Formatter

// US currency formatter ($)
final usFormatter = CurrencyInputFormatter.us();
// Output: $1,234.56

// Vietnamese currency formatter (₫)
final vnFormatter = CurrencyInputFormatter.vn();
// Output: 1,234₫

Phone Number Formatter

// US format
final usPhone = PhoneInputFormatter();
// Input: 1234567890
// Output: (123) 456-7890

// Vietnamese format
final vnPhone = PhoneInputFormatter(const Locale('vi'));
// Input: 1234567890
// Output: 123 456 7890

Hex Color Formatter

final hexColor = HexColorInputFormatter();
// Input: #FF0000
// Output: Color(0xFFFF0000)

Text Capitalization

// Capitalize words
final wordCaps = TextCapitalizationFormatter.words();
// Input: hello world
// Output: Hello World

// Capitalize sentences
final sentenceCaps = TextCapitalizationFormatter.sentences();
// Input: hello. world.
// Output: Hello. World.

1
likes
0
points
124
downloads

Publisher

unverified uploader

Weekly Downloads

A flutter project code base created by VuiTv ................

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (license)

Dependencies

currency_text_input_formatter, flutter, freezed_annotation, intl

More

Packages that depend on vuitv