BaseProperty extension
- on
Methods
-
absorbPointer(
bool absorbing) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply AbsorbPointer to widget -
align(
AlignmentGeometry align) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply alignment to widget -
animated(
{required Widget builder(BuildContext context, Widget child), required AnimationController animation}) → Niku -
Available on Niku, provided by the BaseProperty extension
Wrap widget in animated builder -
animatedBuilder(
{required Widget builder(BuildContext context, Widget child), required AnimationController animation}) → Niku -
Available on Niku, provided by the BaseProperty extension
Wrap widget in animated builder -
animatedContainer(
{Alignment? alignment, EdgeInsets? padding, Color? color, Decoration? decoration, BoxDecoration? foregroundDecoration, double? width, double? height, BoxConstraints? constraints, EdgeInsets? margin, Matrix4? transform, AlignmentGeometry? transformAlignment, Clip clipBehavior = Clip.none, Curve curve = Curves.linear, required Duration duration, VoidCallback? onEnd}) → Niku -
Available on Niku, provided by the BaseProperty extension
Wrap widget in animated container -
aspectRatio(
double aspectRatio) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply aspect ratio to self -
backdropFilter(
ImageFilter filter) → Niku -
Available on Niku, provided by the BaseProperty extension
Add backdrop filter to widget -
backgroundColor(
Color color) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply background to widget -
bg(
Color color) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply background to widget -
border(
Border border) → Niku -
Available on Niku, provided by the BaseProperty extension
Decorate with border using Border -
bottomCenter(
) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply widget to bottom center -
bottomLeft(
) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply widget to bottom left -
bottomRight(
) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply widget to bottom right -
boxDecoration(
BoxDecoration boxDecoration) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply BoxDecoration to widget -
center(
) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply widget to center -
centerLeft(
) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply widget to center left -
centerRight(
) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply widget to center right -
constraints(
BoxConstraints constraints) → Niku -
Available on Niku, provided by the BaseProperty extension
Set minimum and maximum size for widget -
container(
) → Niku -
Available on Niku, provided by the BaseProperty extension
Add new container to widget -
expanded(
[int flex = 1]) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply expanded to self -
fitted(
) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply FittedBox for widget -
flex(
[int flex = 1]) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply Flexible to widget -
flexible(
[int flex = 1]) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply Flexible to widget -
fractionHeight(
double fraction) → Niku -
Available on Niku, provided by the BaseProperty extension
Set height in percent -
fractionSize(
double width, double height) → Niku -
Available on Niku, provided by the BaseProperty extension
Set both width and height in percent -
fractionWidth(
double fraction) → Niku -
Available on Niku, provided by the BaseProperty extension
Set width in percent -
fullHeight(
) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply full width to self -
fullSize(
) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply both full width and height to self -
fullWidth(
) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply full width to self -
height(
double height) → Niku -
Available on Niku, provided by the BaseProperty extension
Set height of Widget -
heightPercent(
double percent) → Niku -
Available on Niku, provided by the BaseProperty extension
Set height in percent -
heroTag(
String heroTag) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply Hero to widget -
ignorePointer(
bool ignoring) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply IgnorePointer to widget -
inkwell(
{Color? hover, Color? focus, Color? highlight, Color? splash, double? radius, bool autofocus = false, VoidCallback? onTap}) → Niku -
Available on Niku, provided by the BaseProperty extension
Add InkWell to widget -
m(
double margin) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply margin to all side -
margin(
EdgeInsets margin) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply margin using EdgeInsets -
material(
{double elevation = 0, Color? color, Color? shadowColor}) → Niku -
Available on Niku, provided by the BaseProperty extension
Add Material to widget -
maxHeight(
double maxHeight) → Niku -
Available on Niku, provided by the BaseProperty extension
Set maximum height for widget -
maxSize(
double maxWidth, double maxHeight) → Niku -
Available on Niku, provided by the BaseProperty extension
Set maximum size for widget -
maxWidth(
double maxWidth) → Niku -
Available on Niku, provided by the BaseProperty extension
Set maximum width for widget -
mb(
double margin) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply margin to bottom -
minHeight(
double minHeight) → Niku -
Available on Niku, provided by the BaseProperty extension
Set minimum height for widget -
minSize(
double minWidth, double minHeight) → Niku -
Available on Niku, provided by the BaseProperty extension
Set minimum size for widget -
minWidth(
double minWidth) → Niku -
Available on Niku, provided by the BaseProperty extension
Set minimum width for widget -
ml(
double margin) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply margin to left side -
mr(
double margin) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply margin to right side -
mt(
double margin) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply margin to top -
mx(
double margin) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply margin to x axis -
my(
double margin) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply margin to y axis -
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)?}) → Niku -
Available on Niku, provided by the BaseProperty extension
Event Listener -
opacity(
double opacity) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply opacity to widget -
p(
double padding) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply padding to all side -
padding(
EdgeInsets padding) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply padding using EdgeInsets -
pb(
double padding) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply padding to bottom -
pl(
double padding) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply padding to left side -
positioned(
{double? top, double? left, double? bottom, double? right}) → Niku -
Available on Niku, provided by the BaseProperty extension
Add Positioned to widget -
pr(
double padding) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply padding to right side -
pt(
double padding) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply padding to top -
px(
double padding) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply padding to x axis -
py(
double padding) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply padding to y axis -
rounded(
[double borderRadius = 999999]) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply border radius to widget -
scrollable(
{ScrollController? controller, Axis scrollDirection = Axis.vertical, bool? primary, bool reverse = false, ScrollPhysics? scrollPhysics, DragStartBehavior dragStartBehavior = DragStartBehavior.start, String? restorationId}) → Niku -
Available on Niku, provided by the BaseProperty extension
Add singleChildScrolLView to widget -
semantics(
{bool container = false, bool explicitChildNodes = false, bool excludeSemantics = false, bool? enabled, bool? checked, bool? selected, bool? toggled, bool? button, bool? slider, bool? link, bool? header, bool? textField, bool? readOnly, bool? focusable, bool? focused, bool? inMutuallyExclusiveGroup, bool? obscured, bool? multiline, bool? scopesRoute, bool? namesRoute, bool? image, bool? liveRegion, int? maxValueLength, int? currentValueLength, String? label, String? value, String? increasedValue, String? decreasedValue, String? hint, String? onTapHint, String? onLongPressHint, TextDirection? textDirection, SemanticsSortKey? sortKey, SemanticsTag? tagForChildren, VoidCallback? onTap, VoidCallback? onLongPress, VoidCallback? onScrollLeft, VoidCallback? onScrollRight, VoidCallback? onScrollUp, VoidCallback? onScrollDown, VoidCallback? onIncrease, VoidCallback? onDecrease, VoidCallback? onCopy, VoidCallback? onCut, VoidCallback? onPaste, VoidCallback? onDismiss, MoveCursorHandler? onMoveCursorForwardByCharacter, MoveCursorHandler? onMoveCursorBackwardByCharacter, SetSelectionHandler? onSetSelection, VoidCallback? onDidGainAccessibilityFocus, VoidCallback? onDidLoseAccessibilityFocus, Map< CustomSemanticsAction, VoidCallback> ? customSemanticsActions}) → Niku -
Available on Niku, provided by the BaseProperty extension
Add semantic to widget -
shadows(
List< BoxShadow> shadows) → Niku -
Available on Niku, provided by the BaseProperty extension
Add shadows to widget -
singleChildScrollView(
{ScrollController? controller, Axis scrollDirection = Axis.vertical, bool? primary, bool reverse = false, ScrollPhysics? scrollPhysics, DragStartBehavior dragStartBehavior = DragStartBehavior.start, String? restorationId}) → Niku -
Available on Niku, provided by the BaseProperty extension
Add singleChildScrolLView to widget -
size(
double width, double height) → Niku -
Available on Niku, provided by the BaseProperty extension
Set height of Widget -
sizePercent(
double width, double height) → Niku -
Available on Niku, provided by the BaseProperty extension
Set height in percent -
tooltip(
String tip) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply tooltip to widget -
topCenter(
) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply widget to top center -
topLeft(
) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply widget to top left -
topRight(
) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply widget to top right -
transform(
Matrix4 transform) → Niku -
Available on Niku, provided by the BaseProperty extension
Apply transform to widget -
width(
double width) → Niku -
Available on Niku, provided by the BaseProperty extension
Set width of widget -
widthPercent(
double percent) → Niku -
Available on Niku, provided by the BaseProperty extension
Set width in percent