NikuDismissible class

Inheritance
Mixed in types
Available Extensions

Constructors

NikuDismissible(Key key, {Widget? child, Widget? background, Widget? secondaryBackground, Future<bool?> confirmDismiss(DismissDirection)?, void onResize()?, void onUpdate(DismissUpdateDetails)?, void onDismissed(DismissDirection)?, DismissDirection? direction, Duration? resizeDuration, Map<DismissDirection, double>? dismissThresholds, Duration? movementDuration, double? crossAxisEndOffset, DragStartBehavior? dragStartBehavior, HitTestBehavior? behavior})

Properties

$parent Niku
finalinherited
apply NikuDismissible?
write-onlyoverride
aspect double
write-onlyinherited
aspectRatio double
write-onlyinherited
background Widget?
read / write
behavior HitTestBehavior?
read / write
boxConstraints BoxConstraints
write-onlyinherited
child Widget?
read / write
confirmDismiss ↔ (Future<bool?> Function(DismissDirection)?)
read / write
copied NikuDismissible
read-onlyinherited
crossAxisEndOffset double?
read / write
deps List
read / writeinherited
direction DismissDirection?
read / writeoverride
dismissThresholds Map<DismissDirection, double>?
read / write
down → void
read-onlyinherited
dragStartBehavior DragStartBehavior?
read / write
endToStart → void
read-onlyinherited
expanded → dynamic
read-onlyinherited
fh double
write-onlyinherited
fill → void
read-onlyinherited
flex int
read / writeinherited
formKey Key
write-onlyinherited
fractionH double
write-onlyinherited
fractionHeight double
write-onlyinherited
fractionSize List<double>
write-onlyinherited
fractionW double
write-onlyinherited
fractionWidth double
write-onlyinherited
freezed → void
read-onlyinherited
fullHeight → void
read-onlyinherited
fullSize → void
read-onlyinherited
fullWidth → void
read-onlyinherited
fw double
write-onlyinherited
h double
write-onlyinherited
h100 → void
read-onlyinherited
hashCode int
The hash code for this object.
read-onlyinherited
height double
write-onlyinherited
heightPercent double
write-onlyinherited
hFactor double
write-onlyinherited
hFull → void
read-onlyinherited
hidden → dynamic
read-onlyinherited
hMax double
write-onlyinherited
hMin double
write-onlyinherited
horizontal → void
read-onlyinherited
hPercent double
write-onlyinherited
key Key
Controls how one widget replaces another widget in the tree.
read / writeoverride-getter
m double
write-onlyinherited
margin EdgeInsets
write-onlyinherited
maxH double
write-onlyinherited
maxHeight double
write-onlyinherited
maxSize List<double>
write-onlyinherited
maxW double
write-onlyinherited
maxWidth double
write-onlyinherited
mb double
write-onlyinherited
minH double
write-onlyinherited
minHeight double
write-onlyinherited
minSize List<double>
write-onlyinherited
minW double
write-onlyinherited
minWidth double
write-onlyinherited
ml double
write-onlyinherited
movementDuration Duration?
read / write
mr double
write-onlyinherited
mt double
write-onlyinherited
mx double
write-onlyinherited
my double
write-onlyinherited
n NikuExplictParentBuilder
read-onlyinherited
noDissmiss → void
read-onlyinherited
onDismissed ↔ (void Function(DismissDirection)?)
read / write
onResize ↔ (void Function()?)
read / write
onUpdate ↔ (void Function(DismissUpdateDetails)?)
read / write
parent NikuExplictParentBuilder
read-onlyinherited
ratio double
write-onlyinherited
resizeDuration Duration?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
scrollable → void
read-onlyinherited
secondaryBackground Widget?
read / write
self NikuDismissible
read-onlyoverride
sizePercent List<double>
write-onlyinherited
sliverToBox → void
read-onlyinherited
startToEnd → void
read-onlyinherited
theme ThemeData
write-onlyinherited
tip String
write-onlyinherited
tooltip String
write-onlyinherited
up → void
read-onlyinherited
vertical → void
read-onlyinherited
visible bool
write-onlyinherited
w double
write-onlyinherited
w100 → void
read-onlyinherited
wFactor double
write-onlyinherited
wFull → void
read-onlyinherited
width double
write-onlyinherited
widthPercent double
write-onlyinherited
wMax double
write-onlyinherited
wMin double
write-onlyinherited
wPercent double
write-onlyinherited
wrap → dynamic
Cancel parent size inheritance by wrapping the widget with a Wrap.
read-onlyinherited

Methods

build(BuildContext _) Widget
inherited
createElement() StatelessElement
Creates a StatelessElement to manage this widget's 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
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
of(NikuDismissible? v) → void
inherited
on({void tapDown(TapDownDetails)?, void tapUp(TapUpDetails)?, VoidCallback? tap, VoidCallback? tapCancel, VoidCallback? secondaryTap, void secondaryTapDown(TapDownDetails)?, void secondaryTapUp(TapUpDetails)?, VoidCallback? secondaryTapCancel, void tertiaryTapDown(TapDownDetails)?, void tertiaryTapUp(TapUpDetails)?, VoidCallback? tertiaryTapCancel, void doubleTapDown(TapDownDetails)?, VoidCallback? doubleTap, VoidCallback? doubleTapCancel, VoidCallback? longPress, void longPressStart(LongPressStartDetails)?, void longPressMoveUpdate(LongPressMoveUpdateDetails)?, VoidCallback? longPressUp, void longPressEnd(LongPressEndDetails)?, VoidCallback? secondaryLongPress, void secondaryLongPressStart(LongPressStartDetails)?, void secondaryLongPressMoveUpdate(LongPressMoveUpdateDetails)?, VoidCallback? secondaryLongPressUp, void secondaryLongPressEnd(LongPressEndDetails)?, void verticalDragDown(DragDownDetails)?, void verticalDragStart(DragStartDetails)?, void verticalDragUpdate(DragUpdateDetails)?, void verticalDragEnd(DragEndDetails)?, VoidCallback? verticalDragCancel, void horizontalDragDown(DragDownDetails)?, void horizontalDragStart(DragStartDetails)?, void horizontalDragUpdate(DragUpdateDetails)?, void horizontalDragEnd(DragEndDetails)?, VoidCallback? horizontalDragCancel, void forcePressStart(ForcePressDetails)?, void forcePressPeak(ForcePressDetails)?, void forcePressUpdate(ForcePressDetails)?, void forcePressEnd(ForcePressDetails)?, void panDown(DragDownDetails)?, void panStart(DragStartDetails)?, void panUpdate(DragUpdateDetails)?, void panEnd(DragEndDetails)?, VoidCallback? panCancel, void scaleStart(ScaleStartDetails)?, void scaleUpdate(ScaleUpdateDetails)?, void scaleEnd(ScaleEndDetails)?}) → void
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
use(List<NikuDismissible> v) → void
inherited
useAnimationBuilder({required Widget builder(BuildContext context, Widget child), required AnimationController animation}) → void
inherited
useBackground(Widget callback(Niku)) → void
useBg(Widget callback(Niku)) → void
useChild(Widget callback(Niku)) → void
useDarkMode(BuildContext context, NikuDismissible builder(NikuDismissible, bool)) → void
inherited
useForm({Key? key, AutovalidateMode? autovalidateMode, Future<bool> onWillPop()?, void onChanged()?}) → void
inherited
useParent(Widget compose(Niku)) → void
inherited
usePlatform(BuildContext context, {NikuDismissible android(NikuDismissible)?, NikuDismissible iOS(NikuDismissible)?, NikuDismissible fuchsia(NikuDismissible)?, NikuDismissible linux(NikuDismissible)?, NikuDismissible macOS(NikuDismissible)?, NikuDismissible windows(NikuDismissible)?, NikuDismissible web(NikuDismissible)?}) → void
inherited
useQuery(BuildContext context, NikuDismissible builder(NikuDismissible, MediaQueryData)) → void
inherited
useScreen(BuildContext context, {NikuDismissible base(NikuDismissible)?, NikuDismissible xs(NikuDismissible)?, NikuDismissible sm(NikuDismissible)?, NikuDismissible md(NikuDismissible)?, NikuDismissible lg(NikuDismissible)?, NikuDismissible xl(NikuDismissible)?}) → void
void useScreen({ // > 568px Widget Function(Niku)? base, // 568 - 640px Widget Function(Niku)? xs, // 640 - 768px Widget Function(Niku)? sm, // 768 - 920px Widget Function(Niku)? md, // 920 - 1024px Widget Function(Niku)? lg, // > 1024px Widget Function(Niku)? xl, })
inherited
useScrollView({ScrollController? controller, Axis scrollDirection = Axis.vertical, bool? primary, bool reverse = false, ScrollPhysics? physics, DragStartBehavior dragStartBehavior = DragStartBehavior.start, String? restorationId}) → void
inherited
useSecondaryBackground(Widget callback(Niku)) → void
useSecondBg(Widget callback(Niku)) → void
useSize(BuildContext context, NikuDismissible builder(NikuDismissible, Size)) → void
inherited
useThemeSelector(BuildContext context, {NikuDismissible light(NikuDismissible)?, NikuDismissible dark(NikuDismissible)?}) → void
inherited
widget(BuildContext context) Widget
override

Operators

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