Corner radius tokens for the design system.
Maps 1:1 onto AppRadius.values and provides helpers for producing
BorderRadius and RoundedRectangleBorder instances.
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
-
rounded(
[double radius = small]) → RoundedRectangleBorder -
Creates a RoundedRectangleBorder with
radius.
Constants
- borderRadiusCircular → const BorderRadius
- Fully circular BorderRadius.
- borderRadiusExtraLarge → const BorderRadius
- BorderRadius built from extraLarge.
- borderRadiusLarge → const BorderRadius
- BorderRadius built from large.
- borderRadiusMedium → const BorderRadius
- BorderRadius built from medium.
- borderRadiusSmall → const BorderRadius
- BorderRadius built from small.
- circular → const double
- Circular radius — avatars, floating buttons, pills.
- extraLarge → const double
- Extra large radius (24) — hero cards, dialogs.
- large → const double
- Large radius (16) — cards, sheets.
- medium → const double
- Medium radius (12) — inputs, buttons, alerts.
- roundedExtraLarge → const RoundedRectangleBorder
- RoundedRectangleBorder built from extraLarge.
- roundedLarge → const RoundedRectangleBorder
- RoundedRectangleBorder built from large.
- roundedMedium → const RoundedRectangleBorder
- RoundedRectangleBorder built from medium.
- small → const double
- Small radius (8) — chips, tags, small controls.