FormCast.mask constructor
FormCast.mask({})
Cast to text
Implementation
FormCast.mask({
Widget? prefixIcon,
bool clearable = false,
Widget? clearIcon,
required String? mask,
String? match = r'[\w\d]',
bool? maskReturnValue = false,
}) {
type = "mask";
metaData = {};
metaData['prefixIcon'] = prefixIcon;
metaData['clearable'] = clearable;
metaData['clearIcon'] = clearIcon;
metaData['mask'] = mask;
metaData['match'] = match;
metaData['maskedReturnValue'] = maskReturnValue;
}