convenient_dev_toolkit 0.2.3 copy "convenient_dev_toolkit: ^0.2.3" to clipboard
convenient_dev_toolkit: ^0.2.3 copied to clipboard

便捷工具包

convenient_dev_toolkit #

pub package

便捷开发工具包

使用方法 #

安装依赖 #

dependencies:
  flutter:
    sdk: flutter
  # 添加依赖
  convenient_dev_toolkit: ^{latest version}

货币格式化

'12345678'.toCurrencyFormatter() // 12,345,678

有界数字输入框

限制0到100区间范围内输入

使用方法

TextField(
  inputFormatters: [
    BoundedNumberFormatter(min: 0, max: 100),
  ],
  controller: controller,
  decoration: const InputDecoration(hintText: '0-100'),
 ),
2
likes
145
points
13
downloads

Publisher

unverified uploader

Weekly Downloads

便捷工具包

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

decimal, flutter

More

Packages that depend on convenient_dev_toolkit