Skip to content
On this page

Text

A representation of Typography.

NikuText accepts all the props as same as Text.

// Using namespace
n.Text("Hello World");

// Using Niku Prefix
NikuText("Hello World");

Example Usage

n.Text("Hello World")
    ..color = Colors.blue
    ..fontSize = 21
    ..bold;

Using extension

"Hello World".n
    ..color = Colors.blue
    ..bold;

Defination

View Defination on pub.dev