selectable 0.1.2
selectable: ^0.1.2 copied to clipboard
A Flutter widget that enables text selection over all the text widgets it contains.
CHANGELOG #
0.1.2 October 12, 2021 #
- Added
bool selectWordOnLongPress
andbool selectWordOnDoubleTap
to the Selectable constructor. To not break current usage, selectWordOnLongPress defaults to true, and selectWordOnDoubleTap defaults to false. - Updated the src/material/text_selection.dart buildHandle function to set the handle color to
TextSelectionTheme.of(context).selectionHandleColor ?? theme.colorScheme.primary
, which fixes #2 - Updated the default selection color to be:
TextSelectionTheme.of(context).selectionColor ?? (_selection.usingCupertinoControls ? CupertinoTheme.of(context).primaryColor.withOpacity(0.25) : Theme.of(context).colorScheme.primary.withOpacity(0.25))
0.1.1 September 19, 2021 #
- Example app updates.
0.1.0 September 16, 2021 #
- Initial release.
0.0.1 #
- TODO: Describe initial release.