close_range_util
library
Functions
-
attemptPasswordReset(BuildContext context)
→ Future<void>
-
-
centerLoading()
→ Widget
-
-
CRDebugPage()
→ StatefulWidget
-
-
CRGenerateTheme(CRThemeType scheme)
→ CRCustomTheme
-
-
CRInitTheme1()
→ CRCustomTheme
-
-
CRPasswordInput(String label, TextEditingController controller, String hint)
→ CRTextInput
-
-
CRSetAllowedThemes(List<CRThemeType> themes)
→ void
-
-
CRSetThemeNames(Map<CRThemeType, String> names)
→ void
-
-
downloadImage(BuildContext context, {required String imageUrl, bool isNetwork = false, bool isDownload = false})
→ Future<void>
-
-
e164Pretty(String? e164)
→ String?
-
-
getTheme(int i)
→ CRThemeType
-
-
pageCreateRoute(Widget page, {double xbegin = 0.0, double ybegin = 1.0})
→ Route
-
-
pageGoto<T extends Object?>(BuildContext context, Widget page)
→ Future<T?>
-
push a new page onto the navigation stack
-
pageGotoBottomScroll(BuildContext context, Widget page)
→ void
-
-
pageGotoClear(BuildContext context, Widget page)
→ void
-
pop navgation stack and add new page. Clears all previous pages
-
pageGotoCustomScroll(BuildContext context, Widget page, {double xbegin = 0.0, double ybegin = 1.0})
→ void
-
-
pageGotoLast(BuildContext context)
→ void
-
-
pageGotoLeftScroll(BuildContext context, Widget page)
→ void
-
-
pageGotoRightScroll(BuildContext context, Widget page)
→ void
-
-
pageGotoTopScroll(BuildContext context, Widget page)
→ void
-
-
showAlertDialog(BuildContext context, {required String title, required Widget child, double height = 350, String confirmText = "Confirm", String cancelText = "Cancel", VoidCallback? onConfirm, VoidCallback? onCancel})
→ void
-
Displays an alert dialog with the given
context
.
-
showCropImage(BuildContext context, String path, {String title = 'Resize Image', double? forceAspectRatio, bool showTools = true, bool showCircle = false, bool showCropGrid = false})
→ Future<String?>
-
-
showImageControl(BuildContext context, CRImage image)
→ void
-
-
showImageFull(BuildContext context, {required Image image})
→ void
-
Displays a full-screen image in the given
context
.
-
Displays a snackbar with the given message.
-
textLoading(Future<String> future, {String loadingText = "Loading", TextStyle? style})
→ FutureBuilder
-
-
verifyE164(String phone)
→ String?
-