utils
library
Properties
-
dio
↔ Dio
-
getter/setter pair
Functions
-
canvasColor(BuildContext context)
→ Color
-
-
cardColor(BuildContext context)
→ Color
-
-
closeDialog(BuildContext context)
→ void
-
-
convertGradient(String gradient)
→ LinearGradient
-
-
generateColor(String type, String text)
→ Color?
-
-
getRequest(BuildContext context, String url, {bool? futureBuilder, })
→ Future
-
-
height(BuildContext context)
→ double
-
-
openDialog(BuildContext context, Widget title, Widget content, List<Widget> actions)
→ void
-
-
pop(BuildContext context)
→ void
-
-
postRequest(BuildContext context, String url, dynamic data, {bool showProgressIndicator = true, })
→ Future
-
-
push(BuildContext context, Widget widget)
→ void
-
-
pushReplacement(BuildContext context, Widget widget)
→ void
-
-
removeSnackbar(BuildContext context)
→ void
-
-
showSnackBar(BuildContext context, dynamic widget, {Duration? duration, double? containerHeight})
→ void
-
-
width(BuildContext context)
→ double
-