Description
[VERBOSE-2:dart_error.cc(16)] Unhandled exception:
type '(Exception) => Null' is not a subtype of type '(Object) => FutureOr'
#0 _FutureListener.handleError (dart:async/future_impl.dart:145:11)
#1 Future._propagateToListeners.handleError (dart:async/future_impl.dart:645:47)
#2 Future._propagateToListeners (dart:async/future_impl.dart:666:24)
#3 Future._completeError (dart:async/future_impl.dart:485:5)
#4 _SyncCompleter._completeError (dart:async/future_impl.dart:55:12)
#5 _Completer.completeError (dart:async/future_impl.dart:27:5)
#6 _withClient (package:http/http.dart)
#7 post (package:http/http.dart:70:3)
#8 _RightSlideState._loadRightCategroy (package:name/widget/categroy.dart:159:10)
#9 _RightSlideState.didUpdateWidget (package:name/widget/categroy.dart:148:5)
#10 StatefulElement.update (package:flutter/src/widgets/framework.dart:3784:58)
#11 Element.updateChild (package:flutter/src/widgets/framework.dart:<…>