NikuImage class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- NikuImage
- Mixed-in types
- Available extensions
Constructors
-
NikuImage(ImageProvider<
Object> image, {Key? key, ImageFrameBuilder? frameBuilder, ImageLoadingBuilder? loadingBuilder, ImageErrorWidgetBuilder? errorBuilder, double? width, double? height, Color? color, Animation<double> ? opacity, FilterQuality? filterQuality, BlendMode? colorBlendMode, BoxFit? fit, AlignmentGeometry? alignment, ImageRepeat? repeat, Rect? centerSlice, bool? matchTextDirection, bool? gaplessPlayback, String? semanticLabel, bool? excludeFromSemantics, bool? isAntiAlias}) -
NikuImage.asset(String name, {Key? key, ImageFrameBuilder? frameBuilder, ImageLoadingBuilder? loadingBuilder, ImageErrorWidgetBuilder? errorBuilder, double? width, double? height, Color? color, Animation<
double> ? opacity, FilterQuality? filterQuality, BlendMode? colorBlendMode, BoxFit? fit, AlignmentGeometry? alignment, ImageRepeat? repeat, Rect? centerSlice, bool? matchTextDirection, bool? gaplessPlayback, String? semanticLabel, bool? excludeFromSemantics, bool? isAntiAlias, Map<String, String> ? headers, int? cacheWidth, int? cacheHeight, double? scale, String? package, AssetBundle? bundle}) -
factory
-
NikuImage.memory(Uint8List bytes, {Key? key, ImageFrameBuilder? frameBuilder, ImageLoadingBuilder? loadingBuilder, ImageErrorWidgetBuilder? errorBuilder, double? width, double? height, Color? color, Animation<
double> ? opacity, FilterQuality? filterQuality, BlendMode? colorBlendMode, BoxFit? fit, AlignmentGeometry? alignment, ImageRepeat? repeat, Rect? centerSlice, bool? matchTextDirection, bool? gaplessPlayback, String? semanticLabel, bool? excludeFromSemantics, bool? isAntiAlias, Map<String, String> ? headers, int? cacheWidth, int? cacheHeight, double scale = 1}) -
factory
-
NikuImage.network(String src, {Key? key, ImageFrameBuilder? frameBuilder, ImageLoadingBuilder? loadingBuilder, ImageErrorWidgetBuilder? errorBuilder, double? width, double? height, Color? color, Animation<
double> ? opacity, FilterQuality? filterQuality, BlendMode? colorBlendMode, BoxFit? fit, AlignmentGeometry? alignment, ImageRepeat? repeat, Rect? centerSlice, bool? matchTextDirection, bool? gaplessPlayback, String? semanticLabel, bool? excludeFromSemantics, bool? isAntiAlias, Map<String, String> ? headers, int? cacheWidth, int? cacheHeight, double scale = 1}) -
factory
Properties
- $parent → Niku
-
finalinherited
- alignment ↔ AlignmentGeometry?
-
getter/setter pair
- antiAlias → void
-
no setter
- apply ← NikuImage?
-
no getteroverride
- aspect ← double
-
no getterinherited
- aspectRatio ← double
-
no getterinherited
- boxConstraints ← BoxConstraints
-
no getterinherited
- centerSlice ↔ Rect?
-
getter/setter pair
- clear → void
-
no setterinherited
- color ↔ Color?
-
getter/setter pairoverride-getter
- colorBlendMode ↔ BlendMode?
-
getter/setter pairoverride
- colorBurn → void
-
no setterinherited
- colorDodge → void
-
no setterinherited
- contain → void
-
no setterinherited
- copied → NikuImage
-
no setteroverride
- cover → void
-
no setterinherited
- darken → void
-
no setterinherited
- deps ↔ List
-
getter/setter pairinherited
- difference → void
-
no setterinherited
- dst → void
-
no setterinherited
- dstATop → void
-
no setterinherited
- dstIn → void
-
no setterinherited
- dstOut → void
-
no setterinherited
- dstOver → void
-
no setterinherited
- errorBuilder ↔ ImageErrorWidgetBuilder?
-
getter/setter pair
- excludeFromSemantics ↔ bool?
-
getter/setter pair
- exclusion → void
-
no setterinherited
- expanded → dynamic
-
no setterinherited
- fh ← double
-
no getterinherited
- fill → void
-
no setterinherited
- filterQuality ↔ FilterQuality?
-
getter/setter pair
- fit ↔ BoxFit?
-
getter/setter pairoverride
- fitHeight → void
-
no setterinherited
- fitWidth → void
-
no setterinherited
- flex ↔ int
-
getter/setter pairinherited
- formKey ← Key
-
no getterinherited
- fractionH ← double
-
no getterinherited
- fractionHeight ← double
-
no getterinherited
-
fractionSize
← List<
double> -
no getterinherited
- fractionW ← double
-
no getterinherited
- fractionWidth ← double
-
no getterinherited
- frameBuilder ↔ ImageFrameBuilder?
-
getter/setter pair
- freezed → void
-
no setterinherited
- fullHeight → void
-
no setterinherited
- fullSize → void
-
no setterinherited
- fullWidth → void
-
no setterinherited
- fw ← double
-
no getterinherited
- gaplessPlayback ↔ bool?
-
getter/setter pair
- h ← double
-
no getterinherited
- h100 → void
-
no setterinherited
- hardLight → void
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- height ↔ double?
-
getter/setter pairoverride
- heightPercent ← double
-
no getterinherited
- hFactor ← double
-
no getterinherited
- hFull → void
-
no setterinherited
-
no setterinherited
- hMax ← double
-
no getterinherited
- hMin ← double
-
no getterinherited
- hPercent ← double
-
no getterinherited
- hue → void
-
no setterinherited
-
image
↔ ImageProvider<
Object> -
getter/setter pair
- isAntiAlias ↔ bool?
-
getter/setter pair
- key ↔ Key?
-
Controls how one widget replaces another widget in the tree.
getter/setter pairoverride-getter
- lighten → void
-
no setterinherited
- loadingBuilder ↔ ImageLoadingBuilder?
-
getter/setter pair
- luminosity → void
-
no setterinherited
- m ← double
-
no getterinherited
- margin ← EdgeInsets
-
no getterinherited
- matchTextDirection ↔ bool?
-
getter/setter pair
- maxH ← double
-
no getterinherited
- maxHeight ← double
-
no getterinherited
-
maxSize
← List<
double> -
no getterinherited
- maxW ← double
-
no getterinherited
- maxWidth ← double
-
no getterinherited
- mb ← double
-
no getterinherited
- minH ← double
-
no getterinherited
- minHeight ← double
-
no getterinherited
-
minSize
← List<
double> -
no getterinherited
- minW ← double
-
no getterinherited
- minWidth ← double
-
no getterinherited
- ml ← double
-
no getterinherited
- modulate → void
-
no setterinherited
- mr ← double
-
no getterinherited
- mt ← double
-
no getterinherited
- multiply → void
-
no setterinherited
- mx ← double
-
no getterinherited
- my ← double
-
no getterinherited
- n → NikuExplictParentBuilder
-
no setterinherited
- niku → Niku
-
Available on Widget, provided by the NikuTransform extension
no setter - noFit → void
-
no setterinherited
-
opacity
↔ Animation<
double> ? -
getter/setter pair
- overlay → void
-
no setterinherited
- parent → NikuExplictParentBuilder
-
no setterinherited
- plus → void
-
no setterinherited
- ratio ← double
-
no getterinherited
- repeat ↔ ImageRepeat?
-
getter/setter pairoverride
- repeatAll → void
-
no setterinherited
- repeatNone → void
-
no setterinherited
- repeatX → void
-
no setterinherited
- repeatXY → void
-
no setterinherited
- repeatY → void
-
no setterinherited
- rounded ↔ double
-
Available on NikuImage, provided by the NikuImageProxy extension
getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- saturation → void
-
no setterinherited
- scaleDown → void
-
no setterinherited
- screen → void
-
no setterinherited
- scrollable → void
-
no setterinherited
- self → NikuImage
-
no setteroverride
- semanticLabel ↔ String?
-
getter/setter pair
-
sizePercent
← List<
double> -
no getterinherited
- sliverToBox → void
-
no setterinherited
- softLight → void
-
no setterinherited
- src → void
-
no setterinherited
- srcATop → void
-
no setterinherited
- srcIn → void
-
no setterinherited
- srcOut → void
-
no setterinherited
- srcOver → void
-
no setterinherited
- theme ← ThemeData
-
no getterinherited
- tip ← String
-
no getterinherited
- tooltip ← String
-
no getterinherited
- visible ← bool
-
no getterinherited
- w ← double
-
no getterinherited
- w100 → void
-
no setterinherited
- wFactor ← double
-
no getterinherited
- wFull → void
-
no setterinherited
- width ↔ double?
-
getter/setter pairoverride
- widthPercent ← double
-
no getterinherited
- wMax ← double
-
no getterinherited
- wMin ← double
-
no getterinherited
- wPercent ← double
-
no getterinherited
- wrap → dynamic
-
Cancel parent size inheritance by wrapping the widget with a Wrap.
no setterinherited
- xor → void
-
no setterinherited
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(
NikuImage? 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, 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
-
use(
List< NikuImage> v) → void -
inherited
-
useAnimationBuilder(
{required Widget builder(BuildContext context, Widget child), required AnimationController animation}) → void -
inherited
-
useCircleProgress(
{Key? key, Color? backgroundColor, Color? color, Animation< Color?> ? valueColor, double strokeWidth = 4.0, String? semanticsLabel, String? semanticsValue}) → void -
useDarkMode(
BuildContext context, NikuImage builder(NikuImage, bool)) → void -
inherited
-
useForm(
{Key? key, AutovalidateMode? autovalidateMode, Future< bool> onWillPop()?, void onChanged()?}) → void -
inherited
-
useLinearProgress(
{Key? key, Color? backgroundColor, Color? color, Animation< Color?> ? valueColor, double minHeight = 1, String? semanticsLabel, String? semanticsValue}) → void -
useParent(
Widget compose(Niku)) → void -
inherited
-
usePlatform(
BuildContext context, {NikuImage android(NikuImage)?, NikuImage iOS(NikuImage)?, NikuImage fuchsia(NikuImage)?, NikuImage linux(NikuImage)?, NikuImage macOS(NikuImage)?, NikuImage windows(NikuImage)?, NikuImage web(NikuImage)?}) → void -
inherited
-
useQuery(
BuildContext context, NikuImage builder(NikuImage, MediaQueryData)) → void -
inherited
-
useScreen(
BuildContext context, {NikuImage base(NikuImage)?, NikuImage xs(NikuImage)?, NikuImage sm(NikuImage)?, NikuImage md(NikuImage)?, NikuImage lg(NikuImage)?, NikuImage xl(NikuImage)?}) → 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
-
useSize(
BuildContext context, NikuImage builder(NikuImage, Size)) → void -
inherited
-
useThemeSelector(
BuildContext context, {NikuImage light(NikuImage)?, NikuImage dark(NikuImage)?}) → void -
inherited
-
widget(
BuildContext context) → Widget -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited