mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-14 02:38:55 +03:30
2.2.0
This commit is contained in:
Regular → Executable
+3
-1
@@ -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,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user