ConstantSizing class
A collection of sizing constants for consistent UI layouts across the app.
Constructors
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
-
columnSpacing(
double height) → SizedBox -
rowSpacing(
double width) → SizedBox
Constants
- appBarHeight → const double
- Standard app bar height.
- borderRadiusCircle → const double
- Radius to create circular shapes (often used with square dimensions).
- borderRadiusLarge → const double
- Large border radius for more prominent rounded corners.
- borderRadiusMedium → const double
- Medium border radius for standard rounding.
- borderRadiusSmall → const double
- Small border radius for slightly rounded corners.
- Large button height, for primary or call-to-action buttons.
- Medium button height, standard for most buttons.
- Small button height, for compact controls.
- Horizontal padding inside buttons.
- Vertical padding inside buttons.
- cardElevation → const double
- Standard elevation for card widgets.
- columnSpacingExtraLarge → const SizedBox
- columnSpacingHuge → const SizedBox
- columnSpacingLarge → const SizedBox
- columnSpacingMedium → const SizedBox
- columnSpacingSmall → const SizedBox
- Column Spacing
- dividerThick → const double
- Thick divider line, for more pronounced separation.
- dividerThin → const double
- Thin divider line, subtle separation.
- fontSizeBody → const double
- Default body text size.
- fontSizeExtraLarge → const double
- Extra large font size, often used for prominent headings.
- fontSizeHuge → const double
- Huge font size, for major headlines.
- fontSizeLarge → const double
- Large font size, suitable for subheadings.
- fontSizeMedium → const double
- Medium font size, for regular text content.
- fontSizeSmall → const double
- Small font size, for less prominent text.
- fontSizeTiny → const double
- Extra small font size, often used for captions.
- formFieldHeight → const double
- Standard height for form fields.
- iconSizeExtraLarge → const double
- Extra large icon size, used in prominent displays.
- iconSizeLarge → const double
- Large icon size for primary actions or emphasis.
- iconSizeMedium → const double
- Medium icon size, a common choice for most icons.
- iconSizeSmall → const double
- Small icon size for minor UI elements.
- imageRadius → const double
- Standard image corner radius.
- listItemHeight → const double
- Standard height for list items.
- rowSpacingExtraLarge → const SizedBox
- rowSpacingHuge → const SizedBox
- rowSpacingLarge → const SizedBox
- rowSpacingMedium → const SizedBox
- rowSpacingSmall → const SizedBox
- Row spacing
- spaceExtraLarge → const double
- Extra large spacing, for emphasizing separations.
- spaceExtraSmall → const double
- Extra small spacing for tight layouts.
- spaceHuge → const double
- Huge spacing for generous layout separations.
- spaceLarge → const double
- Large spacing, used for larger separations.
- spaceMedium → const double
- Medium spacing, standard gap between elements.
- spaceSmall → const double
- Small spacing, ideal for minor gaps.