Skip to content

Selectable Text

A representation of Typography.

NikuSelectableText accepts all the props as same as Selectable Text.

dart
// Using namespace
n.SelectableText("");

// Using Niku Prefix
NikuSelectableText("");

Example Usage

dart
n.SelectableText("I'm selectable");

Using extension

dart
"I'm selectable".n.select;

Adding toolbars

dart
"I'm selectable".n.select
    ..toolbarOptions = ToolbarOptions(
        copy: true,
        selectAll: true,
    );

Defination

View Defination on pub.dev