📜  仅颤振文本字段垫号 - Dart 代码示例

📅  最后修改于: 2022-03-11 14:48:06.108000             🧑  作者: Mango

代码示例2
import 'package:flutter/services.dart';

TextField(
     keyboardType: TextInputType.number,
     inputFormatters: [FilteringTextInputFormatter.digitsOnly],
     ...
),