CoreUtilUI class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
addAction(BuildContext context, String buttonName, dynamic value, Color color, double elevation)
→ Widget
-
-
checkResponse(BuildContext context, BaseResponse response, Function logout, Color primaryColor, {bool showError = true, bool passString = false})
→ bool
-
-
clearAllPages(BuildContext context)
→ void
-
-
createItems(BuildContext context, String title, List values, String id, Color primaryColor)
→ List<Widget>
-
-
goBack(BuildContext context, dynamic value)
→ void
-
-
goToPage(BuildContext context, dynamic page, {bool clearAllPage = false, bool hasBack = false, Function? callback})
→ void
-
-
goToRealPage(BuildContext context, String pageName)
→ dynamic
-
-
launchUrl(BuildContext context, String url)
→ void
-
-
showCustomAlertDialog(BuildContext context, String message, {String? title, bool isActionCancel = false, double elevation = 4.0, Color primaryColor = Colors.white54})
→ Future<bool?>
-
-
showOptionDialog(BuildContext context, String title, List values, String id, {Color primaryColor = Colors.white})
→ Future
-
-
viewAvatar(BuildContext context, {String assetDefault = 'assets/images/ic_default_avatar.png', EdgeInsets? padding, String path = ''})
→ void
-