platform_text 0.0.1+1 platform_text: ^0.0.1+1 copied to clipboard
A Flutter package to make your text selectable for web and non-selectable for native builds.
A Flutter package to make your text selectable for web and non-selectable for native builds.
Features #
This package contains PlatformText widget as a wrapper for Text and SelectableText widgets. During application run this widget provide wrapped widgets depends on platform respectively.
- Native -> Text
- Web -> SelectableText
Getting started #
To use package include platform_text in your pubspec.yaml file.
Usage #
Use PlatformText widget with one required String parameter.
PlatformText('Hello mom!');
Additional information #
In case of any issues please contact me via https://rozpo.dev