NikuBuildMacro<T extends Widget> class abstract

Implementers

Constructors

NikuBuildMacro()

Properties

$parent Niku
final
apply ← T?
no getter
aspect double
no getter
aspectRatio double
no getter
boxConstraints BoxConstraints
no getter
copied → T
no setter
deps List
getter/setter pair
expanded → dynamic
no setter
fh double
no getter
fill → void
no setter
flex int
getter/setter pair
formKey Key
no getter
fractionH double
no getter
fractionHeight double
no getter
fractionSize List<double>
no getter
fractionW double
no getter
fractionWidth double
no getter
freezed → void
no setter
fullHeight → void
no setter
fullSize → void
no setter
fullWidth → void
no setter
fw double
no getter
h double
no getter
h100 → void
no setter
hashCode int
The hash code for this object.
no setterinherited
height double
no getter
heightPercent double
no getter
hFactor double
no getter
hFull → void
no setter
hidden → dynamic
no setter
hMax double
no getter
hMin double
no getter
hPercent double
no getter
m double
no getter
margin EdgeInsets
no getter
maxH double
no getter
maxHeight double
no getter
maxSize List<double>
no getter
maxW double
no getter
maxWidth double
no getter
mb double
no getter
minH double
no getter
minHeight double
no getter
minSize List<double>
no getter
minW double
no getter
minWidth double
no getter
ml double
no getter
mr double
no getter
mt double
no getter
mx double
no getter
my double
no getter
n NikuExplictParentBuilder
no setter
parent NikuExplictParentBuilder
no setter
ratio double
no getter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollable → void
no setter
self → T
no setter
sizePercent List<double>
no getter
sliverToBox → void
no setter
theme ThemeData
no getter
tip String
no getter
tooltip String
no getter
visible bool
no getter
w double
no getter
w100 → void
no setter
wFactor double
no getter
wFull → void
no setter
width double
no getter
widthPercent double
no getter
wMax double
no getter
wMin double
no getter
wPercent double
no getter
wrap → dynamic
Cancel parent size inheritance by wrapping the widget with a Wrap.
no setter

Methods

build(BuildContext _) Widget
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
of(T? v) → void
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
toString() String
A string representation of this object.
inherited
use(List<T> v) → void
useAnimationBuilder({required Widget builder(BuildContext context, Widget child), required AnimationController animation}) → void
useDarkMode(BuildContext context, T builder(T, bool)) → void
useForm({Key? key, AutovalidateMode? autovalidateMode, Future<bool> onWillPop()?, void onChanged()?}) → void
useParent(Widget compose(Niku)) → void
usePlatform(BuildContext context, {T android(T)?, T iOS(T)?, T fuchsia(T)?, T linux(T)?, T macOS(T)?, T windows(T)?, T web(T)?}) → void
useQuery(BuildContext context, T builder(T, MediaQueryData)) → void
useScreen(BuildContext context, {T base(T)?, T xs(T)?, T sm(T)?, T md(T)?, T lg(T)?, T xl(T)?}) → 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, })
useScrollView({ScrollController? controller, Axis scrollDirection = Axis.vertical, bool? primary, bool reverse = false, ScrollPhysics? physics, DragStartBehavior dragStartBehavior = DragStartBehavior.start, String? restorationId}) → void
useSize(BuildContext context, T builder(T, Size)) → void
useThemeSelector(BuildContext context, {T light(T)?, T dark(T)?}) → void
widget(BuildContext context) Widget

Operators

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