CommonContainerModel class
Constructors
-
CommonContainerModel({double? width = 0.0, double? height = 0.0, double? minWidth = 0.0, double? minHeight = 0.0, double? maxWidth = double.infinity, double? maxHeight = double.infinity, AlignmentGeometry? alignment, double? padding = 0.0, double? paddingTop, double? paddingBottom, double? paddingRight, double? paddingLeft, double? paddingVertical, double? paddingHorizontal, double? margin = 0.0, double? marginTop, double? marginBottom, double? marginRight, double? marginLeft, double? marginVertical, double? marginHorizontal, dynamic backgroundColor = COMMON_TRANSPARENT_COLOR, dynamic foregroundColor = COMMON_TRANSPARENT_COLOR, dynamic radiusColor = 0xFF000000, dynamic loadingColor = 0xFF1DD005, double? shadowSpreadRadius = 0.0, double? shadowBlurRadius = 0.0, double? shadowOffsetDX = 0.0, double? shadowOffsetDY = 0.0, dynamic shadowColor = 0xFF000000, double? shadowOpacity = 0.0, double? foregroundShadowSpreadRadius = 0.0, double? foregroundShadowBlurRadius = 0.0, double? foregroundShadowOffsetDX = 0.0, double? foregroundShadowOffsetDY = 0.0, dynamic foregroundShadowColor = 0xFF000000, double? foregroundShadowOpacity = 0.0, double? bottomLeftRadius, double? bottomRightRadius, double? topLeftRadius, double? topRightRadius, double? borderRadius = 0.0, double? foregroundBottomLeftRadius, double? foregroundBottomRightRadius, double? foregroundTopLeftRadius, double? foregroundTopRightRadius, double? foregroundBorderRadius = 0.0, Clip? clipBehavior = Clip.none, Matrix4? transform, AlignmentGeometry? transformAlignment, BorderStyle? borderStyle = BorderStyle.solid, BorderStyle? borderTopStyle, BorderStyle? borderRightStyle, BorderStyle? borderBottomStyle, BorderStyle? borderLeftStyle, double? borderWidth = 0.0, double? borderTopWidth, double? borderRightWidth, double? borderBottomWidth, double? borderLeftWidth, dynamic borderColor = 0xFF000000, dynamic borderTopColor, dynamic borderRightColor, dynamic borderBottomColor, dynamic borderLeftColor, BorderStyle? foregroundBorderStyle = BorderStyle.solid, BorderStyle? foregroundBorderTopStyle, BorderStyle? foregroundBorderRightStyle, BorderStyle? foregroundBorderBottomStyle, BorderStyle? foregroundBorderLeftStyle, double? foregroundBorderWidth = 0.0, double? foregroundBorderTopWidth, double? foregroundBorderRightWidth, double? foregroundBorderBottomWidth, double? foregroundBorderLeftWidth, dynamic foregroundBorderColor = 0xFF000000, dynamic foregroundBorderTopColor, dynamic foregroundBorderRightColor, dynamic foregroundBorderBottomColor, dynamic foregroundBorderLeftColor, Decoration? foregroundDecoration, Decoration? decoration, BoxShape? boxShape = BoxShape.rectangle, BoxShape? foregroundBoxShape = BoxShape.rectangle, TouchableEffect? touchEffect, BlendMode? backgroundBlendMode, BlendMode? foregroundBlendMode, LinearGradient? boxGradient, LinearGradient? foregroundBoxGradient, DecorationImage? foregroundImage, DecorationImage? backgroundImageDecoration, String? backgroundImage, @Deprecated('We Used this just to use same width and height after version (0.3.5) you can use size property instead of width and height to use same with and height for') bool? isResponsive = true, double? size})
-
const
Methods
-
copyWith({double? width, double? height, double? minWidth, double? minHeight, double? maxWidth, double? maxHeight, double? size, double? padding, double? paddingTop, double? paddingBottom, double? paddingRight, double? paddingLeft, double? paddingVertical, double? paddingHorizontal, double? margin, double? marginTop, double? marginBottom, double? marginRight, double? marginLeft, double? marginVertical, double? marginHorizontal, double? shadowSpreadRadius, double? shadowBlurRadius, double? shadowOffsetDX, double? shadowOffsetDY, double? shadowOpacity, double? foregroundShadowSpreadRadius, double? foregroundShadowBlurRadius, double? foregroundShadowOffsetDX, double? foregroundShadowOffsetDY, double? foregroundShadowOpacity, double? bottomLeftRadius, double? bottomRightRadius, double? topLeftRadius, double? topRightRadius, double? borderRadius, double? borderWidth, double? borderTopWidth, double? borderBottomWidth, double? borderRightWidth, double? borderLeftWidth, double? foregroundBottomLeftRadius, double? foregroundBottomRightRadius, double? foregroundTopLeftRadius, double? foregroundTopRightRadius, double? foregroundBorderRadius, double? foregroundBorderWidth, double? foregroundBorderTopWidth, double? foregroundBorderBottomWidth, double? foregroundBorderRightWidth, double? foregroundBorderLeftWidth, dynamic radiusColor, dynamic shadowColor, dynamic backgroundColor, dynamic borderColor, dynamic borderTopColor, dynamic borderBottomColor, dynamic borderRightColor, dynamic borderLeftColor, dynamic loadingColor, dynamic foregroundShadowColor, dynamic foregroundColor, dynamic foregroundBorderColor, dynamic foregroundBorderTopColor, dynamic foregroundBorderBottomColor, dynamic foregroundBorderRightColor, dynamic foregroundBorderLeftColor, AlignmentGeometry? alignment, AlignmentGeometry? transformAlignment, Clip? clipBehavior, Matrix4? transform, BorderStyle? borderStyle, BorderStyle? borderTopStyle, BorderStyle? borderBottomStyle, BorderStyle? borderRightStyle, BorderStyle? borderLeftStyle, BorderStyle? foregroundBorderStyle, BorderStyle? foregroundBorderTopStyle, BorderStyle? foregroundBorderBottomStyle, BorderStyle? foregroundBorderRightStyle, BorderStyle? foregroundBorderLeftStyle, Decoration? foregroundDecoration, Decoration? decoration, BoxShape? boxShape, BoxShape? foregroundBoxShape, TouchableEffect? touchEffect, BlendMode? backgroundBlendMode, BlendMode? foregroundBlendMode, LinearGradient? boxGradient, LinearGradient? foregroundBoxGradient, DecorationImage? backgroundImageDecoration, String? backgroundImage, DecorationImage? foregroundImage})
→ CommonContainerModel
-
-
getBorder()
→ Border?
-
get border width and color.
-
getBorderRadius()
→ BorderRadius?
-
get border Radius.
-
getForegroundBorder()
→ Border?
-
get border width and color.
-
getForegroundBorderRadius()
→ BorderRadius?
-
get border Radius.
-
getHeight()
→ double?
-
handel container hight.
and return the container hight
like responsive design if the value smaller than 1.
-
getResponsiveMaxHeight()
→ double
-
-
getResponsiveMaxWidth()
→ double
-
-
getResponsiveMinHeight()
→ double
-
-
getResponsiveMinWidth()
→ double
-
-
getWidth()
→ double?
-
handel container width.
and return the container width
like responsive design if the value smaller than 1.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited