CuReUtils class

Constructors

CuReUtils.new()

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

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

darken(Color color, [double amount = .1]) Color
darkModeWrapper(dynamic whiteMode, dynamic darkMode) → dynamic
dynamicHeight(BuildContext context, double percentage) double
dynamicWidth(BuildContext context, double percentage) double
fromIconToString(IconData icon) String
fromStringToIcon(String input) IconData
getMonthsNames() List<String>
getWeekDaysNames() List<String>
isEmailValid(String email) bool
isIos() bool
isSystemDarkModeActive() bool
lighten(Color color, [double amount = .1]) Color
openBottomSheet<T>({required BuildContext context, WidgetBuilder? contentBuilder, Widget? content, String title = '', List<CuReDialogAction> actions = const [], bool? hideCloseButton = false, bool useIsolatedNavigator = false}) Future<T?>
openDialog({required BuildContext context, Widget content = const SizedBox(), String title = '', List<CuReDialogAction> actions = const []}) → void
openUrl(String url, bool useExternalBrowser) Future<void>
parseHtml(String htmlText, double? fontSize) RichText