예제 #1
0
 internal _SimpleTextInputFormatter(TextInputFormatFunction formatFunction)
 {
     D.assert(formatFunction != null);
     this.formatFunction = formatFunction;
 }
예제 #2
0
 static TextInputFormatter withFunction(TextInputFormatFunction formatFunction)
 {
     return(new _SimpleTextInputFormatter(formatFunction));
 }