selectable 0.2.0 copy "selectable: ^0.2.0" to clipboard
selectable: ^0.2.0 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,
),
69
likes
0
pub points
92%
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

characters, collection, equatable, float_column, flutter, url_launcher

More

Packages that depend on selectable