core/utils/common_functions library
Functions
-
capitalizeFirst(
String s) → String -
getCurrentRounteAndArgs(
→ (String?, Object?) ) - This method is used for the facebook authentication After successful authentication this method returns a FbInfo model FbInfo model includes accesstoken for fb and name of user.
-
getDioExceptionWithData(
{int? statusCode, dynamic data}) → DioException -
getDioSuccessResponse(
{int? statusCode, dynamic data}) → Response -
isBlank(
dynamic value) → bool? -
isNull(
dynamic value) → bool -
parseJwt(
String token) → Map< String, dynamic> -
showAnimatedDialog(
{required String label, required BuildContext context, required Widget child}) → void