Skip to content
On this page

Row

A representation of X-axis layout.

NikuRow accepts all the props as same as Row.

// Using namespace
n.Row([]);

// Using Niku Prefix
NikuRow([]);

Example Usage

n.Row([
    "Welcome".n,
    n.Button("Enter".n),
])
    ..mainCenter
    ..crossStart
    ..px = 16;

Aligning items at the center

Row([
    "This should be".n,
    "at the center".n
])
    ..center
    ..wFull
    ..hFull;

Scrollable

Row([
    "This should be".n,
    "at the center".n
])
    ..wFull
    ..hFull
    ..scrollable;

Defination

View Defination on pub.dev