Border radius tokens.
Provides both raw double values and pre-built BorderRadius constants
for the most common UI surfaces. All values are const and zero-cost.
Usage:
// Raw value — for custom shapes
Radius.circular(AppRadius.lg)
// Semantic preset — for common surfaces
Container(decoration: BoxDecoration(borderRadius: AppRadius.card))
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
-
circular(
double value) → BorderRadius -
Returns a uniform BorderRadius for a custom
value.
Constants
- allLg → const BorderRadius
- allMd → const BorderRadius
- allSm → const BorderRadius
- allXl → const BorderRadius
- allXs → const BorderRadius
- allXxl → const BorderRadius
- avatar → const BorderRadius
- bottomSheet → const BorderRadius
- Top-rounded only — for bottom sheets and drawers.
- card → const BorderRadius
- chip → const BorderRadius
- Full-pill shape for chips, tags, and badges.
- dialog → const BorderRadius
- full → const double
- Use for pill-shaped chips and badges.
- input → const BorderRadius
- lg → const double
- md → const double
- none → const double
- sm → const double
- snackBar → const BorderRadius
- xl → const double
- xs → const double
- xxl → const double