ContainerDecoration class

Constructors

ContainerDecoration({Color? backgroundColor, BorderRadius borderRadius = BorderRadius.zero, EdgeInsets padding = EdgeInsets.zero, EdgeInsets margin = EdgeInsets.zero, BlendMode? backgroundBlendMode, List<BoxShadow>? boxShadow, BoxBorder? border, Gradient? gradient, InteractiveInkFeatureFactory? splashFactory, Color? splashColor})
const

Properties

backgroundBlendMode BlendMode?
final
backgroundColor Color?
backgroundColor Sets the background color of the RippleContainer.
final
border BoxBorder?
final
borderRadius BorderRadius
The borderRadius determines the border radius of the Container, and the child is clipped to fit the Container. default value is BorderRadius.zero
final
boxShadow List<BoxShadow>?
The boxShadow variable is used to apply a shadow outside the Container.
final
gradient Gradient?
final
hashCode int
The hash code for this object.
no setterinherited
margin EdgeInsets
final
padding EdgeInsets
padding is applied inside the Container, while margin is the value used to create space outside the Container. default value is EdgeInsets.zero.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
splashColor Color?
The splash color of the ink response. If this property is null then the splash color of the theme, ThemeData.splashColor, will be used.
final
splashFactory InteractiveInkFeatureFactory?
Defines the appearance of the splash.
final

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