generated/arcane_shadcn/src/util library
Classes
Enums
Extensions
- AlignmentExtension on AlignmentGeometry
- BorderRadiusExtension on BorderRadiusGeometry
- ColorExtension on Color
- ColumnExtension on Column
- DoubleExtension on double
- EdgeInsetsExtension on EdgeInsetsGeometry
- FlexExtension on Flex
-
FutureOrExtension
on FutureOr<
T> - HSLColorExtension on HSLColor
- HSVColorExtension on HSVColor
- IntExtension on int
-
IterableExtension
on Iterable<
T> -
Joinable
on List<
T> - RowExtension on Row
- WidgetExtension on Widget
- XContextDismissOverlay on BuildContext
Constants
- kDefaultDuration → const Duration
Functions
-
gap(
double gap, {double? crossGap}) → Widget -
isMobile(
TargetPlatform platform) → bool -
join(
Iterable< Widget> widgets, Widget separator) → Iterable<Widget> -
lerpColor(
Color a, Color b, double t) → Color -
Linearly interpolate between two colors.
Also handles the case when one of the colors is transparent,
where
Color.lerp
fails to handle. -
optionallyResolveBorderRadius(
BuildContext context, BorderRadiusGeometry? radius) → BorderRadius? -
styleValue<
T> ({T? widgetValue, T? themeValue, required T defaultValue}) → T - A style helper function that returns the value from the widget, theme, or default value.
-
subtractByBorder(
BorderRadius radius, double borderWidth) → BorderRadius -
tweenValue<
T> (T begin, T end, double t) → T -
wrapDouble(
double value, double min, double max) → double
Typedefs
- ContextedCallback = void Function(BuildContext context)
-
ContextedValueChanged<
T> = void Function(BuildContext context, T value) -
Predicate<
T> = bool Function(T value) -
SearchPredicate<
T> = double Function(T value, String query)