KinIcon class
Minimal hand-drawn vector icons for KinUI.
Each icon is a CustomPainter rendered inside a CustomPaint widget. Stroke-only, no fills — matches KinUI's clean, minimal design language.
Usage:
KinIcon.search(color: theme.onSurface, size: 24)
KinIcon.back(color: theme.onSurface, size: 24)
KinIcon.timer(color: theme.onSurface, size: 24)
KinIcon.plus(color: theme.onSurface, size: 24)
KinIcon.close(color: theme.onSurface, size: 24)
- Inheritance
Properties
- color → Color?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → double
-
final
- strokeWidth → double?
-
final
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
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
-
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
ai(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - AI — sparkle / neural icon.
-
back(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - iOS-style leading chevron arrow (‹).
-
bell(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Notification bell.
-
book(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Book — closed book with rounded spine.
-
bookOpen(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Open book — two curved pages spreading apart.
-
calculator(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Calculator.
-
calendar(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Calendar — rounded grid.
-
check(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Check / tick mark.
-
close(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Minimal close (×).
-
copy(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Copy — overlapping rounded rectangles.
-
cup(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Cup / mug.
-
desktop(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Desktop monitor.
-
dislike(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Thumbs down — dislike.
-
edit(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Edit — pencil with rounded tip.
-
eye(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Eye — visibility indicator.
-
filter(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Filter — funnel shape with rounded edges.
-
flag(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Flag — rounded flag on pole.
-
flower(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Flower — rounded petals around a center.
-
headphone(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Headphone — over-ear arc + cups.
-
heart(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Heart outline.
-
home(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Home — peaked roof + rounded walls + door arch.
-
keyIcon(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Key — horizontal key with teeth.
-
laptop(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Laptop — open screen + base.
-
like(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Thumbs up — like.
-
lock(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Lock — padlock with rounded body.
-
mail(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Mail envelope.
-
message(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Message bubble.
-
mic(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Microphone.
-
mobile(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Mobile phone.
-
paste(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Paste — clipboard with rounded corners.
-
person(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Person — head circle + curved shoulders.
-
plus(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Minimal plus (+).
-
redo(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Redo — curved arrow pointing right.
-
search(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Minimal search — small circle with a short angled stick.
- Share — arrow out of a rounded tray.
-
star(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Star — five-point star with rounded joins.
-
timer(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Minimal timer — circle with two clock hands.
-
trash(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Trash — rounded bin with lid.
-
undo(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Undo — curved arrow pointing left.
-
video(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Video camera.
-
volume(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Volume / speaker.
-
wallet(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Wallet — folded billfold with rounded edges.
-
watch(
{Key? key, Color? color, double size = 24, double? strokeWidth}) → KinIcon - Wristwatch — rounded face + band.