response_wrapper
library
Functions
-
back(BuildContext context)
→ void
-
-
blocLog({required String msg, required String bloc})
→ void
-
-
customLoader({double height = 25, double width = 25, Color color = Colors.black, double? value})
→ Widget
-
-
exceptionHandler({required Object e, required String functionName})
→ String
-
-
fieldDeco({String? labelText, TextStyle? labelStyle, String? hintText, bool? showSuffixIcon, Widget? suffix, bool? showPrefixIcon, Widget? prefix})
→ InputDecoration
-
field decoration
-
functionLog({required dynamic msg, required dynamic fun})
→ void
-
-
getFailedResponseWrapper(dynamic e, {dynamic response})
→ ResponseWrapper
-
-
getHandleFirebaseError({required String error, required String functionName})
→ String
-
-
getSuccessResponseWrapper(dynamic response)
→ ResponseWrapper
-
-
printLog(dynamic msg)
→ void
-
-
pushReplacement(BuildContext context, Widget widget)
→ void
-
-
pushTo(BuildContext context, Widget widget)
→ void
-
Navigator functions
-
responseChecker(Response response)
→ dynamic
-
-
screenHeight(BuildContext context)
→ double
-
-
screenWidth(BuildContext context)
→ double
-
-
trans(BuildContext context, String s)
→ String
-
-
xWidth(double width)
→ SizedBox
-
-
yHeight(double height)
→ SizedBox
-