OutlinedContainerTheme class
Theme configuration for OutlinedContainer appearance.
Defines styling properties including background color, border styles, shadows, padding, and surface effects for outlined containers.
- Inheritance
-
- Object
- ComponentThemeData
- OutlinedContainerTheme
Constructors
-
OutlinedContainerTheme({Color? backgroundColor, Color? borderColor, BorderRadiusGeometry? borderRadius, BorderStyle? borderStyle, double? borderWidth, List<
BoxShadow> ? boxShadow, EdgeInsetsGeometry? padding, double? surfaceOpacity, double? surfaceBlur}) -
Creates an OutlinedContainerTheme.
const
Properties
- backgroundColor → Color?
-
Background color for the container.
final
- borderColor → Color?
-
Color of the container's border.
final
- borderRadius → BorderRadiusGeometry?
-
Border radius for rounded corners.
final
- borderStyle → BorderStyle?
-
Style of the border (solid, dotted, etc).
final
- borderWidth → double?
-
Width of the border in logical pixels.
final
-
boxShadow
→ List<
BoxShadow> ? -
Box shadows to apply for depth/elevation effects.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- padding → EdgeInsetsGeometry?
-
Padding inside the container.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- surfaceBlur → double?
-
Blur amount for surface backdrop effects.
final
- surfaceOpacity → double?
-
Opacity for surface overlay effects.
final
Methods
-
copyWith(
{ValueGetter< Color?> ? backgroundColor, ValueGetter<Color?> ? borderColor, ValueGetter<BorderRadiusGeometry?> ? borderRadius, ValueGetter<BorderStyle?> ? borderStyle, ValueGetter<double?> ? borderWidth, ValueGetter<List< ? boxShadow, ValueGetter<BoxShadow> ?>EdgeInsetsGeometry?> ? padding, ValueGetter<double?> ? surfaceOpacity, ValueGetter<double?> ? surfaceBlur}) → OutlinedContainerTheme - Creates a copy of this theme with the given fields replaced.
-
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.
override