extended_masked_text_fixed

Last updated:

0 purchases

extended_masked_text_fixed Image
extended_masked_text_fixed Images
Add to Cart

Description:

extended masked text fixed

Extended Masked Text #
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.
Usage #
Import the library
import 'package:extended_masked_text_fixed/extended_masked_text.dart';
copied to clipboard
MaskedTextController #
Create your mask controller:
final controller = MaskedTextController(mask: '000.000.000-00');
copied to clipboard
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,
),
],
),
),
),
);
copied to clipboard
MoneyMaskedTextController #
Create your mask controller:
final controller = MoneyMaskedTextController(leftSymbol: 'R\$ ');
copied to clipboard
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,
),
],
),
),
),
);
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.