27 lines
670 B
Dart
27 lines
670 B
Dart
|
import 'package:flutter/material.dart';
|
||
|
|
||
|
class FormTextField{
|
||
|
final String title;
|
||
|
final TextInputType textInputType;
|
||
|
final num? maxLength;
|
||
|
final String? maxLengthErrorMessage;
|
||
|
final String? minLengthErrorMessage;
|
||
|
final num? minLength;
|
||
|
final num? numericMax;
|
||
|
final num? numericMin;
|
||
|
final String? numericMaxErrorMessage;
|
||
|
final String? numericMinErrorMessage;
|
||
|
|
||
|
FormTextField(
|
||
|
this.title,
|
||
|
this.textInputType,
|
||
|
this.maxLength,
|
||
|
this.maxLengthErrorMessage,
|
||
|
this.minLengthErrorMessage,
|
||
|
this.minLength,
|
||
|
this.numericMax,
|
||
|
this.numericMin,
|
||
|
this.numericMaxErrorMessage,
|
||
|
this.numericMinErrorMessage);
|
||
|
}
|