fix max length 80
This commit is contained in:
parent
b1a09d999c
commit
70e81c0e34
|
@ -114,7 +114,6 @@ class _VehicleUpdateScreenState extends State<VehicleUpdateScreen> {
|
||||||
suffixIcon: suffixIcon,
|
suffixIcon: suffixIcon,
|
||||||
haveMaxLength: true,
|
haveMaxLength: true,
|
||||||
onChanged: (value) => setState(() {}),
|
onChanged: (value) => setState(() {}),
|
||||||
maxLength: 80,
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -47,9 +47,7 @@ mixin Pageable<T extends StatefulWidget> on State<T> {
|
||||||
required void Function(Object error, StackTrace stackTrace) onFetchError,
|
required void Function(Object error, StackTrace stackTrace) onFetchError,
|
||||||
}) async {
|
}) async {
|
||||||
try {
|
try {
|
||||||
print('develop ->');
|
|
||||||
final (bool isDataAvailable, dynamic data) = await dataProvider();
|
final (bool isDataAvailable, dynamic data) = await dataProvider();
|
||||||
print('develop -> $isDataAvailable');
|
|
||||||
if (isDataAvailable) {
|
if (isDataAvailable) {
|
||||||
onDataAvailable(data);
|
onDataAvailable(data);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue