selectable 0.1.2 copy "selectable: ^0.1.2" to clipboard
selectable: ^0.1.2 copied to clipboard

outdated

A Flutter widget that enables text selection over all the text widgets it contains.

selectable #

Pub

A Flutter widget that enables text selection over all the text widgets it contains.

Try it out at: https://ronjb.github.io/selectable

Getting Started #

Add this to your app's pubspec.yaml file:

dependencies:
  selectable: ^0.1.2

Usage #

Then you have to import the package with:

import 'package:selectable/selectable.dart';

And use Selectable where appropriate. For example:

Selectable(
    child: widgetWithTextWidgets,
    selectionColor: Colors.orange.withAlpha(75),
    showSelection: _showSelection,
    showPopup: true,
    popupMenuItems: _selectionMenuItems,
    selectionController: _selectionController,
    scrollController: _scrollController,
),
59
likes
0
pub points
91%
popularity

Publisher

verified publisherronbooth.com

A Flutter widget that enables text selection over all the text widgets it contains.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

collection, equatable, float_column, flutter, pedantic, url_launcher

More

Packages that depend on selectable