init method
ViewController
init({
- bool? activated,
- bool? enabled,
- bool? visibility,
- int? animation,
- Curve? animationType,
- int? flex,
- double? dimensionRatio,
- double? width,
- double? widthMax,
- double? widthMin,
- double? height,
- double? heightMax,
- double? heightMin,
- double? margin,
- double? marginHorizontal,
- double? marginVertical,
- double? marginTop,
- double? marginBottom,
- double? marginStart,
- double? marginEnd,
- double? padding,
- double? paddingHorizontal,
- double? paddingVertical,
- double? paddingTop,
- double? paddingBottom,
- double? paddingStart,
- double? paddingEnd,
- double? border,
- double? borderHorizontal,
- double? borderVertical,
- double? borderTop,
- double? borderBottom,
- double? borderStart,
- double? borderEnd,
- double? borderRadius,
- double? borderRadiusBL,
- double? borderRadiusBR,
- double? borderRadiusTL,
- double? borderRadiusTR,
- double? shadow,
- double? shadowBlurRadius,
- double? shadowSpreadRadius,
- double? shadowHorizontal,
- double? shadowVertical,
- double? shadowStart,
- double? shadowEnd,
- double? shadowTop,
- double? shadowBottom,
- Color? background,
- Color? foreground,
- Color? borderColor,
- Color? shadowColor,
- Alignment? gravity,
- Alignment? transformGravity,
- BlendMode? backgroundBlendMode,
- BlendMode? foregroundBlendMode,
- DecorationImage? backgroundImage,
- DecorationImage? foregroundImage,
- Gradient? backgroundGradient,
- Gradient? foregroundGradient,
- Gradient? borderGradient,
- Matrix4? transform,
- BlurStyle? shadowBlurStyle,
- Clip? clipBehavior,
- ViewShadowType? shadowType,
- ViewPosition? position,
- ViewPositionType? positionType,
- ViewShape? shape,
- ViewProperties? root,
- Widget? child,
- OnViewClickListener? onClick,
- OnViewClickListener? onDoubleClick,
- OnViewClickListener? onLongClick,
- OnViewNotifyListener<
ViewController> ? onClickNotify, - OnViewNotifyListener<
ViewController> ? onDoubleClickNotify, - OnViewNotifyListener<
ViewController> ? onLongClickNotify,
Implementation
ViewController init({
bool? activated,
bool? enabled,
bool? visibility,
int? animation,
Curve? animationType,
int? flex,
double? dimensionRatio,
double? width,
double? widthMax,
double? widthMin,
double? height,
double? heightMax,
double? heightMin,
double? margin,
double? marginHorizontal,
double? marginVertical,
double? marginTop,
double? marginBottom,
double? marginStart,
double? marginEnd,
double? padding,
double? paddingHorizontal,
double? paddingVertical,
double? paddingTop,
double? paddingBottom,
double? paddingStart,
double? paddingEnd,
double? border,
double? borderHorizontal,
double? borderVertical,
double? borderTop,
double? borderBottom,
double? borderStart,
double? borderEnd,
double? borderRadius,
double? borderRadiusBL,
double? borderRadiusBR,
double? borderRadiusTL,
double? borderRadiusTR,
double? shadow,
double? shadowBlurRadius,
double? shadowSpreadRadius,
double? shadowHorizontal,
double? shadowVertical,
double? shadowStart,
double? shadowEnd,
double? shadowTop,
double? shadowBottom,
Color? background,
Color? foreground,
Color? borderColor,
Color? shadowColor,
Alignment? gravity,
Alignment? transformGravity,
BlendMode? backgroundBlendMode,
BlendMode? foregroundBlendMode,
DecorationImage? backgroundImage,
DecorationImage? foregroundImage,
Gradient? backgroundGradient,
Gradient? foregroundGradient,
Gradient? borderGradient,
Matrix4? transform,
BlurStyle? shadowBlurStyle,
Clip? clipBehavior,
ViewShadowType? shadowType,
ViewPosition? position,
ViewPositionType? positionType,
ViewShape? shape,
ViewProperties? root,
Widget? child,
OnViewClickListener? onClick,
OnViewClickListener? onDoubleClick,
OnViewClickListener? onLongClick,
OnViewNotifyListener? onClickNotify,
OnViewNotifyListener? onDoubleClickNotify,
OnViewNotifyListener? onLongClickNotify,
}) {
return properties(
activated: activated,
enabled: enabled,
visibility: visibility,
animation: animation,
animationType: animationType,
flex: flex,
dimensionRatio: dimensionRatio,
width: width,
widthMax: widthMax,
widthMin: widthMin,
height: height,
heightMax: heightMax,
heightMin: heightMin,
margin: margin,
marginHorizontal: marginHorizontal,
marginVertical: marginVertical,
marginTop: marginTop,
marginBottom: marginBottom,
marginStart: marginStart,
marginEnd: marginEnd,
padding: padding,
paddingHorizontal: paddingHorizontal,
paddingVertical: paddingVertical,
paddingTop: paddingTop,
paddingBottom: paddingBottom,
paddingStart: paddingStart,
paddingEnd: paddingEnd,
border: border,
borderHorizontal: borderHorizontal,
borderVertical: borderVertical,
borderTop: borderTop,
borderBottom: borderBottom,
borderStart: borderStart,
borderEnd: borderEnd,
borderRadius: borderRadius,
borderRadiusBL: borderRadiusBL,
borderRadiusBR: borderRadiusBR,
borderRadiusTL: borderRadiusTL,
borderRadiusTR: borderRadiusTR,
shadow: shadow,
shadowBlurRadius: shadowBlurRadius,
shadowSpreadRadius: shadowSpreadRadius,
shadowHorizontal: shadowHorizontal,
shadowVertical: shadowVertical,
shadowStart: shadowStart,
shadowEnd: shadowEnd,
shadowTop: shadowTop,
shadowBottom: shadowBottom,
background: background,
foreground: foreground,
borderColor: borderColor,
shadowColor: shadowColor,
gravity: gravity,
transformGravity: transformGravity,
backgroundBlendMode: backgroundBlendMode,
foregroundBlendMode: foregroundBlendMode,
backgroundImage: backgroundImage,
foregroundImage: foregroundImage,
backgroundGradient: backgroundGradient,
foregroundGradient: foregroundGradient,
borderGradient: borderGradient,
transform: transform,
shadowBlurStyle: shadowBlurStyle,
clipBehavior: clipBehavior,
shadowType: shadowType,
position: position,
positionType: positionType,
shape: shape,
root: root,
child: child,
onClick: onClick,
onDoubleClick: onDoubleClick,
onLongClick: onLongClick,
onClickHandle: onClickNotify,
onDoubleClickHandle: onDoubleClickNotify,
onLongClickHandle: onLongClickNotify,
);
}