ImageContainerConfig class
Configuration class for image container decoration
Constructors
-
ImageContainerConfig({double? width, double? height, Color? backgroundColor, BorderRadius? borderRadius, Border? border, List<
BoxShadow> ? boxShadow, EdgeInsetsGeometry? padding, EdgeInsetsGeometry? margin, BoxFit fit = BoxFit.cover, Alignment alignment = Alignment.center, Clip clipBehavior = Clip.antiAlias, bool isCircle = false}) -
const
Properties
- alignment → Alignment
-
final
- backgroundColor → Color?
-
final
- border → Border?
-
final
- borderRadius → BorderRadius?
-
final
-
boxShadow
→ List<
BoxShadow> ? -
final
- clipBehavior → Clip
-
final
- fit → BoxFit
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
final
- isCircle → bool
-
final
- margin → EdgeInsetsGeometry?
-
final
- padding → EdgeInsetsGeometry?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → double?
-
final
Methods
-
copyWith(
{double? width, double? height, Color? backgroundColor, BorderRadius? borderRadius, Border? border, List< BoxShadow> ? boxShadow, EdgeInsetsGeometry? padding, EdgeInsetsGeometry? margin, BoxFit? fit, Alignment? alignment, Clip? clipBehavior, bool? isCircle}) → ImageContainerConfig -
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