YMRView<T extends ViewController> constructor
const
YMRView<T extends ViewController> ({
- Key? key,
- T? controller,
- int? flex,
- bool? activated,
- bool? enabled,
- bool? visibility,
- int? animation,
- Curve? animationType,
- 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? borderSize,
- 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,
- Widget? child,
- OnViewClickListener? onClick,
- OnViewClickListener? onDoubleClick,
- OnViewClickListener? onLongClick,
- OnViewNotifyListener<
T> ? onClickHandle, - OnViewNotifyListener<
T> ? onDoubleClickHandle, - OnViewNotifyListener<
T> ? onLongClickHandle,
Implementation
const YMRView({
Key? key,
this.controller,
this.flex,
this.activated,
this.enabled,
this.visibility,
this.animation,
this.animationType,
this.dimensionRatio,
this.width,
this.widthMax,
this.widthMin,
this.height,
this.heightMax,
this.heightMin,
this.margin,
this.marginHorizontal,
this.marginVertical,
this.marginTop,
this.marginBottom,
this.marginStart,
this.marginEnd,
this.padding,
this.paddingHorizontal,
this.paddingVertical,
this.paddingTop,
this.paddingBottom,
this.paddingStart,
this.paddingEnd,
this.borderSize,
this.borderHorizontal,
this.borderVertical,
this.borderTop,
this.borderBottom,
this.borderStart,
this.borderEnd,
this.borderRadius,
this.borderRadiusBL,
this.borderRadiusBR,
this.borderRadiusTL,
this.borderRadiusTR,
this.shadow,
this.shadowBlurRadius,
this.shadowSpreadRadius,
this.shadowHorizontal,
this.shadowVertical,
this.shadowStart,
this.shadowEnd,
this.shadowTop,
this.shadowBottom,
this.background,
this.foreground,
this.borderColor,
this.shadowColor,
this.gravity,
this.transformGravity,
this.backgroundBlendMode,
this.foregroundBlendMode,
this.backgroundImage,
this.foregroundImage,
this.backgroundGradient,
this.foregroundGradient,
this.borderGradient,
this.transform,
this.shadowBlurStyle,
this.clipBehavior,
this.shadowType,
this.position,
this.positionType,
this.shape,
this.child,
this.onClick,
this.onDoubleClick,
this.onLongClick,
this.onClickHandle,
this.onDoubleClickHandle,
this.onLongClickHandle,
}) : super(key: key);