This commit is contained in:
Odein
2023-11-22 14:53:35 +04:30
parent 22d0390e90
commit cd3b1080f5
298 changed files with 800 additions and 413 deletions
View File
View File
View File
+3 -1
View File
@@ -9,6 +9,7 @@ class ResultSearchBox extends StatelessWidget {
required this.text,
required this.onChanged,
this.text2 = 'ID',
this.textInputType = TextInputType.number,
}) : _deviceBlockSize = deviceBlockSize,
super(key: key);
@@ -17,6 +18,7 @@ class ResultSearchBox extends StatelessWidget {
final String text;
final String text2;
final dynamic onChanged;
final TextInputType textInputType;
@override
Widget build(BuildContext context) {
@@ -43,7 +45,7 @@ class ResultSearchBox extends StatelessWidget {
fontWeight: FontWeight.w700,
fontSize: 5 * _deviceBlockSize,
),
keyboardType: TextInputType.number,
keyboardType: textInputType,
);
}
}