discontinuedPackage androssy_widgets has been discontinued.

YMRView<T extends ViewController> class

Inheritance
Implementers

Constructors

YMRView({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})
const

Properties

activated → bool?
final
animation → int?
final
animationType → Curve?
final
background → Color?
final
backgroundBlendMode → BlendMode?
final
backgroundGradient → Gradient?
final
backgroundImage → DecorationImage?
final
borderBottom → double?
final
borderColor → Color?
final
borderEnd → double?
final
borderGradient → Gradient?
final
borderHorizontal → double?
final
borderRadius → double?
final
borderRadiusBL → double?
final
borderRadiusBR → double?
final
borderRadiusTL → double?
final
borderRadiusTR → double?
final
borderSize → double?
final
borderStart → double?
final
borderTop → double?
final
borderVertical → double?
final
child → Widget?
final
clipBehavior → Clip?
final
controller → T?
final
dimensionRatio → double?
final
enabled → bool?
final
flex → int?
final
foreground → Color?
final
foregroundBlendMode → BlendMode?
final
foregroundGradient → Gradient?
final
foregroundImage → DecorationImage?
final
gravity → Alignment?
final
hashCode → int
The hash code for this object.
no setterinherited
height → double?
final
heightMax → double?
final
heightMin → double?
final
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
margin → double?
final
marginBottom → double?
final
marginEnd → double?
final
marginHorizontal → double?
final
marginStart → double?
final
marginTop → double?
final
marginVertical → double?
final
onClick → OnViewClickListener?
final
onClickHandle → OnViewNotifyListener<T>?
final
onDoubleClick → OnViewClickListener?
final
onDoubleClickHandle → OnViewNotifyListener<T>?
final
onLongClick → OnViewClickListener?
final
onLongClickHandle → OnViewNotifyListener<T>?
final
padding → double?
final
paddingBottom → double?
final
paddingEnd → double?
final
paddingHorizontal → double?
final
paddingStart → double?
final
paddingTop → double?
final
paddingVertical → double?
final
position → ViewPosition?
final
positionType → ViewPositionType?
final
properties → ViewProperties
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shadow → double?
final
shadowBlurRadius → double?
final
shadowBlurStyle → BlurStyle?
final
shadowBottom → double?
final
shadowColor → Color?
final
shadowEnd → double?
final
shadowHorizontal → double?
final
shadowSpreadRadius → double?
final
shadowStart → double?
final
shadowTop → double?
final
shadowType → ViewShadowType?
final
shadowVertical → double?
final
shape → ViewShape?
final
transform → Matrix4?
final
transformGravity → Alignment?
final
visibility → bool?
final
width → double?
final
widthMax → double?
final
widthMin → double?
final

Methods

attach(BuildContext context, T controller) → Widget?
attachController() → T
build(BuildContext context, T controller, Widget parent) → Widget
createElement() → StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → State<YMRView<T>>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() → List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
initController(T controller) → T
initialization(T controller) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDispose() → void
root(BuildContext context, T controller, Widget parent) → Widget
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String
Returns a one-line detailed description of the object.
inherited
toStringShort() → String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited