NullableView class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- YMRView<
NullableViewController> - NullableView
Constructors
-
NullableView({Key? key, NullableViewController? controller, OnViewActivator? onActivator, OnViewChangeListener? onChange, OnViewErrorListener? onError, OnViewHoverListener? onHover, OnViewValidListener? onValid, OnViewValidatorListener? onValidator, ViewClickEffect? clickEffect, OnViewClickListener? onClick, OnViewClickListener? onDoubleClick, OnViewClickListener? onLongClick, OnViewToggleListener? onToggleClick, OnViewNotifyListener<
NullableViewController> ? onClickHandler, OnViewNotifyListener<NullableViewController> ? onDoubleClickHandler, OnViewNotifyListener<NullableViewController> ? onLongClickHandler, bool? absorbMode, bool? activated, Color? background, ValueState<Color> ? backgroundState, BlendMode? backgroundBlendMode, Gradient? backgroundGradient, ValueState<Gradient> ? backgroundGradientState, DecorationImage? backgroundImage, ValueState<DecorationImage> ? backgroundImageState, Clip? clipBehavior, double? dimensionRatio, double? elevation, bool? enabled, bool? expandable, Color? foreground, BlendMode? foregroundBlendMode, Gradient? foregroundGradient, DecorationImage? foregroundImage, int? flex, Alignment? gravity, double? height, ValueState<double> ? heightState, double? heightMax, double? heightMin, Color hoverColor = Colors.transparent, Axis? orientation, ViewPosition? position, ViewPositionType? positionType, Color pressedColor = Colors.transparent, Color rippleColor = Colors.transparent, bool? scrollable, ScrollController? scrollController, ViewScrollingType? scrollingType, ViewShape? shape, Matrix4? transform, Alignment? transformGravity, bool? visibility, double? width, ValueState<double> ? widthState, double? widthMax, double? widthMin, int? animation, Curve? animationType, ImageFilter? backdropFilter, BlendMode? backdropMode, Color? borderColor, ValueState<Color> ? borderColorState, double? borderSize, ValueState<double> ? borderSizeState, double? borderHorizontal, ValueState<double> ? borderHorizontalState, double? borderVertical, ValueState<double> ? borderVerticalState, double? borderTop, ValueState<double> ? borderTopState, double? borderBottom, ValueState<double> ? borderBottomState, double? borderStart, ValueState<double> ? borderStartState, double? borderEnd, ValueState<double> ? borderEndState, double? borderStrokeAlign, double? borderRadius, ValueState<double> ? borderRadiusState, double? borderRadiusBL, ValueState<double> ? borderRadiusBLState, double? borderRadiusBR, ValueState<double> ? borderRadiusBRState, double? borderRadiusTL, ValueState<double> ? borderRadiusTLState, double? borderRadiusTR, ValueState<double> ? borderRadiusTRState, bool indicatorVisible = false, double? margin, double? marginHorizontal, double? marginVertical, double? marginTop, double? marginBottom, double? marginStart, double? marginEnd, EdgeInsets? marginCustom, double? opacity, ValueState<double> ? opacityState, bool opacityAlwaysIncludeSemantics = false, double? padding, double? paddingHorizontal, double? paddingVertical, double? paddingTop, double? paddingBottom, double? paddingStart, double? paddingEnd, EdgeInsets? paddingCustom, double? shadow, double? shadowBlurRadius, BlurStyle? shadowBlurStyle, Color? shadowColor, ViewShadowType? shadowType, double? shadowSpreadRadius, double? shadowHorizontal, double? shadowVertical, double? shadowStart, double? shadowEnd, double? shadowTop, double? shadowBottom, dynamic icon, NullableViewBuilder? iconBuilder, Color? iconTint, BlendMode iconTintMode = BlendMode.srcIn, double iconSize = 50, double iconSpacing = 24, bool iconVisible = true, IconViewController? iconController, String? header, NullableViewBuilder? headerBuilder, Color headerColor = Colors.black, String? headerFontFamily, FontWeight headerFontWeight = FontWeight.w500, double headerSize = 24, bool headerVisible = true, TextViewController? headerController, String? body, NullableViewBuilder? bodyBuilder, Color bodyColor = const Color(0xff808080), String? bodyFontFamily, FontWeight bodyFontWeight = FontWeight.normal, double bodySize = 16, double bodySpacing = 12, bool bodyVisible = true, TextViewController? bodyController, Color? buttonBackground, double buttonBorderRadius = 50, NullableViewBuilder? buttonBuilder, double buttonMinWidth = 180, double buttonPaddingX = 24, double buttonPaddingY = 12, Color? buttonRippleColor, String? buttonText, Color? buttonTextColor, String? buttonTextFontFamily, FontWeight buttonTextFontWeight = FontWeight.w500, double buttonTextSize = 16, double buttonSpacing = 24, bool buttonVisible = true, ButtonController? buttonController, OnViewClickListener? onButtonClick, Color? secondaryButtonBackground, double? secondaryButtonBorderRadius, NullableViewBuilder? secondaryButtonBuilder, double? secondaryButtonMinWidth, double? secondaryButtonPaddingX, double? secondaryButtonPaddingY, Color? secondaryButtonRippleColor, String secondaryButtonText = "", Color? secondaryButtonTextColor, String? secondaryButtonTextFontFamily, FontWeight? secondaryButtonTextFontWeight, double? secondaryButtonTextSize, double secondaryButtonSpacing = 24, bool secondaryButtonVisible = true, ButtonController? secondaryButtonController, OnViewClickListener? onSecondaryButtonClick}) -
const
Properties
- absorbMode → bool?
-
finalinherited
- activated → bool?
-
finalinherited
- animation → int?
-
finalinherited
- animationType → Curve?
-
finalinherited
- backdropFilter → ImageFilter?
-
BACKDROP PROPERTIES
finalinherited
- backdropMode → BlendMode?
-
finalinherited
- background → Color?
-
finalinherited
- backgroundBlendMode → BlendMode?
-
finalinherited
- backgroundGradient → Gradient?
-
finalinherited
-
backgroundGradientState
→ ValueState<
Gradient> ? -
finalinherited
- backgroundImage → DecorationImage?
-
finalinherited
-
backgroundImageState
→ ValueState<
DecorationImage> ? -
finalinherited
-
backgroundState
→ ValueState<
Color> ? -
finalinherited
- body → String?
-
BODY
final
- bodyBuilder → NullableViewBuilder?
-
final
- bodyColor → Color
-
final
- bodyController → TextViewController?
-
final
- bodyFontFamily → String?
-
final
- bodyFontWeight → FontWeight
-
final
- bodySize → double
-
final
- bodySpacing → double
-
final
- bodyVisible → bool
-
final
- borderBottom → double?
-
finalinherited
-
borderBottomState
→ ValueState<
double> ? -
finalinherited
- borderColor → Color?
-
BORDER PROPERTIES
finalinherited
-
borderColorState
→ ValueState<
Color> ? -
finalinherited
- borderEnd → double?
-
finalinherited
-
borderEndState
→ ValueState<
double> ? -
finalinherited
- borderHorizontal → double?
-
finalinherited
-
borderHorizontalState
→ ValueState<
double> ? -
finalinherited
- borderRadius → double?
-
BORDER RADIUS PROPERTIES
finalinherited
- borderRadiusBL → double?
-
finalinherited
-
borderRadiusBLState
→ ValueState<
double> ? -
finalinherited
- borderRadiusBR → double?
-
finalinherited
-
borderRadiusBRState
→ ValueState<
double> ? -
finalinherited
-
borderRadiusState
→ ValueState<
double> ? -
finalinherited
- borderRadiusTL → double?
-
finalinherited
-
borderRadiusTLState
→ ValueState<
double> ? -
finalinherited
- borderRadiusTR → double?
-
finalinherited
-
borderRadiusTRState
→ ValueState<
double> ? -
finalinherited
- borderSize → double?
-
finalinherited
-
borderSizeState
→ ValueState<
double> ? -
finalinherited
- borderStart → double?
-
finalinherited
-
borderStartState
→ ValueState<
double> ? -
finalinherited
- borderStrokeAlign → double?
-
finalinherited
- borderTop → double?
-
finalinherited
-
borderTopState
→ ValueState<
double> ? -
finalinherited
- borderVertical → double?
-
finalinherited
-
borderVerticalState
→ ValueState<
double> ? -
finalinherited
-
BUTTON
final
-
final
-
final
-
final
-
final
-
final
-
final
-
final
-
final
-
final
-
final
-
final
-
final
-
final
-
final
- child → Widget?
-
finalinherited
- clickEffect → ViewClickEffect?
-
CLICK PROPERTIES
finalinherited
- clipBehavior → Clip?
-
finalinherited
- controller → NullableViewController?
-
ROOT PROPERTIES
finalinherited
- dimensionRatio → double?
-
finalinherited
- elevation → double?
-
finalinherited
- enabled → bool?
-
finalinherited
- expandable → bool?
-
finalinherited
- flex → int?
-
finalinherited
- foreground → Color?
-
finalinherited
- foregroundBlendMode → BlendMode?
-
finalinherited
- foregroundGradient → Gradient?
-
finalinherited
- foregroundImage → DecorationImage?
-
finalinherited
- gravity → Alignment?
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- header → String?
-
HEADER
final
- headerBuilder → NullableViewBuilder?
-
final
- headerColor → Color
-
final
- headerController → TextViewController?
-
final
- headerFontFamily → String?
-
final
- headerFontWeight → FontWeight
-
final
- headerSize → double
-
final
- headerVisible → bool
-
final
- height → double?
-
finalinherited
- heightMax → double?
-
finalinherited
- heightMin → double?
-
finalinherited
-
heightState
→ ValueState<
double> ? -
finalinherited
- hoverColor → Color
-
finalinherited
- icon → dynamic
-
IMAGE
final
- iconBuilder → NullableViewBuilder?
-
final
- iconController → IconViewController?
-
final
- iconSize → double
-
final
- iconSpacing → double
-
final
- iconTint → Color?
-
final
- iconTintMode → BlendMode
-
final
- iconVisible → bool
-
final
- indicatorVisible → bool
-
INDICATOR PROPERTIES
finalinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- margin → double?
-
MARGIN PROPERTIES
finalinherited
- marginBottom → double?
-
finalinherited
- marginCustom → EdgeInsets?
-
finalinherited
- marginEnd → double?
-
finalinherited
- marginHorizontal → double?
-
finalinherited
- marginStart → double?
-
finalinherited
- marginTop → double?
-
finalinherited
- marginVertical → double?
-
finalinherited
- onActivator → OnViewActivator?
-
CALLBACK PROPERTIES
finalinherited
- onButtonClick → OnViewClickListener?
-
final
- onChange → OnViewChangeListener?
-
finalinherited
- onClick → OnViewClickListener?
-
finalinherited
-
onClickHandler
→ OnViewNotifyListener<
NullableViewController> ? -
finalinherited
- onDoubleClick → OnViewClickListener?
-
finalinherited
-
onDoubleClickHandler
→ OnViewNotifyListener<
NullableViewController> ? -
finalinherited
- onError → OnViewErrorListener?
-
finalinherited
- onHover → OnViewHoverListener?
-
finalinherited
- onLongClick → OnViewClickListener?
-
finalinherited
-
onLongClickHandler
→ OnViewNotifyListener<
NullableViewController> ? -
finalinherited
- onSecondaryButtonClick → OnViewClickListener?
-
final
- onToggleClick → OnViewToggleListener?
-
finalinherited
- onValid → OnViewValidListener?
-
finalinherited
- onValidator → OnViewValidatorListener?
-
finalinherited
- opacity → double?
-
OPACITY PROPERTIES
finalinherited
- opacityAlwaysIncludeSemantics → bool
-
finalinherited
-
opacityState
→ ValueState<
double> ? -
finalinherited
- orientation → Axis?
-
finalinherited
- padding → double?
-
PADDING PROPERTIES
finalinherited
- paddingBottom → double?
-
finalinherited
- paddingCustom → EdgeInsets?
-
finalinherited
- paddingEnd → double?
-
finalinherited
- paddingHorizontal → double?
-
finalinherited
- paddingStart → double?
-
finalinherited
- paddingTop → double?
-
finalinherited
- paddingVertical → double?
-
finalinherited
- position → ViewPosition?
-
finalinherited
- positionType → ViewPositionType?
-
finalinherited
- pressedColor → Color
-
finalinherited
- rippleColor → Color
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollable → bool?
-
finalinherited
- scrollController → ScrollController?
-
finalinherited
- scrollingType → ViewScrollingType?
-
finalinherited
- secondaryButtonBackground → Color?
-
SECONDARY BUTTON
final
- secondaryButtonBorderRadius → double?
-
final
- secondaryButtonBuilder → NullableViewBuilder?
-
final
- secondaryButtonController → ButtonController?
-
final
- secondaryButtonMinWidth → double?
-
final
- secondaryButtonPaddingX → double?
-
final
- secondaryButtonPaddingY → double?
-
final
- secondaryButtonRippleColor → Color?
-
final
- secondaryButtonSpacing → double
-
final
- secondaryButtonText → String
-
final
- secondaryButtonTextColor → Color?
-
final
- secondaryButtonTextFontFamily → String?
-
final
- secondaryButtonTextFontWeight → FontWeight?
-
final
- secondaryButtonTextSize → double?
-
final
- secondaryButtonVisible → bool
-
final
- shadow → double?
-
SHADOW PROPERTIES
finalinherited
- shadowBlurRadius → double?
-
finalinherited
- shadowBlurStyle → BlurStyle?
-
finalinherited
- shadowBottom → double?
-
finalinherited
- shadowColor → Color?
-
finalinherited
- shadowEnd → double?
-
finalinherited
- shadowHorizontal → double?
-
finalinherited
- shadowSpreadRadius → double?
-
finalinherited
- shadowStart → double?
-
finalinherited
- shadowTop → double?
-
finalinherited
- shadowType → ViewShadowType?
-
finalinherited
- shadowVertical → double?
-
finalinherited
- shape → ViewShape?
-
finalinherited
- transform → Matrix4?
-
finalinherited
- transformGravity → Alignment?
-
finalinherited
- visibility → bool?
-
finalinherited
- width → double?
-
finalinherited
- widthMax → double?
-
finalinherited
- widthMin → double?
-
finalinherited
-
widthState
→ ValueState<
double> ? -
finalinherited
- wrapper → bool?
-
finalinherited
Methods
-
attach(
BuildContext context, NullableViewController controller) → Widget? -
override
-
attachController(
NullableViewController controller) → NullableViewController -
override
-
build(
BuildContext context, NullableViewController controller, Widget parent) → Widget -
inherited
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< YMRView< NullableViewController> > -
Creates the mutable state for this widget at a given location in the tree.
inherited
-
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(
) → NullableViewController -
override
-
initRootProperties(
) → ViewRoots -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onChangeDependencies(
BuildContext context, NullableViewController controller) → void -
inherited
-
onDispose(
BuildContext context, NullableViewController controller) → void -
inherited
-
onInit(
BuildContext context, NullableViewController controller) → void -
inherited
-
onReady(
BuildContext context, NullableViewController controller) → void -
inherited
-
onToggleHandler(
BuildContext context, NullableViewController controller) → void -
inherited
-
onUpdateWidget(
BuildContext context, NullableViewController controller, dynamic oldWidget) → void -
inherited
-
onViewCreated(
BuildContext context, NullableViewController controller) → void -
inherited
-
root(
BuildContext context, NullableViewController controller, Widget parent) → Widget -
inherited
-
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}) → 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