response_wrapper library

Constants

cardBgColor → const Color
colorB58D67 → const Color
colorE5D1B2 → const Color
colorF9EED2 → const Color
colorFFFFFD → const Color
primary → const Color
secondary → const Color

Properties

black Color
getter/setter pair
deepOrange MaterialColor
no setter
getDioService DioService
no setter
grey Color
no setter
topHeight double
getter/setter pair
white Color
getter/setter pair

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

Typedefs

AppRunner = FutureOr<void> Function()