platform_text 0.2.0 copy "platform_text: ^0.2.0" to clipboard
platform_text: ^0.2.0 copied to clipboard

A Flutter package to make your text selectable for web and non-selectable for native builds.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add platform_text

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  platform_text: ^0.2.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:platform_text/platform_text.dart';
7
likes
120
pub points
0%
popularity

Publisher

verified publisherrozpo.dev

A Flutter package to make your text selectable for web and non-selectable for native builds.

Homepage

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on platform_text