v3.0.1
extended_masked_text
फ्लटर ऐप्स के लिए मास्केड टेक्स्ट इनपुट की अनुमति देने वाले कस्टम TextEditingControllers का एक छोटा सेट
147लाइक 18.5 हज़ार30-दिन डाउनलोड160Pub अंक
AndroidiOSmacOSWindowsLinux
फ्लटर ऐप्स के लिए मास्केड टेक्स्ट इनपुट की अनुमति देने वाले कस्टम TextEditingControllers का एक छोटा सेट
{"sdk":"flutter"}{"sdk":"flutter"}यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
Extended Masked Text Logo
This package is based on the source code of flutter_masked_text and is an attempt to fix some bugs and continue the development of the original one.
Import the library
import 'package:extended_masked_text/extended_masked_text.dart';
Create your mask controller:
final controller = MaskedTextController(mask: '000.000.000-00');
Set controller to your text field:
return MaterialApp(
title: 'Masked Text Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: SafeArea(
child: Scaffold(
body: Column(
children: <Widget>[
TextField(
// Add controller to TextField
controller: controller,
),
],
),
),
),
);
Create your mask controller:
final controller = MoneyMaskedTextController(leftSymbol: 'R\$ ');
Set controller to your text field:
return MaterialApp(
title: 'Money Masked Text Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: SafeArea(
child: Scaffold(
body: Column(
children: <Widget>[
TextField(
// Add controller to TextField
controller: controller,
),
],
),
),
),
);