rounded_background_text 0.6.0
rounded_background_text: ^0.6.0 copied to clipboard
Text, TextField and TextSpan highlighted with rounded corners
0.6.0 #
-
feat: Add
RoundedBackgroundTextField.stylusHandwritingEnabled -
BREAKING fix: Do not use material's
SelectableTextinRoundedBackgroundText.selectable(#21)RoundedBackgroundTextFieldis used under the hood instead. It contains all the logic to make the text scrollable, adapts to the style and more.RoundedBackgroundText.selectableRichhas been removed. UseRoundedBackgroundTextFieldwith custom text controller instead. -
feat: Enhance
RoundedBackgroundTexthit testing to accurately detect taps within the rounded background, including inner and outer curves. (#22)
0.5.0 #
- fix: Update vertical alignment (#19)
- breaking: Remove
textScaleFactor. UsetextScalerinstead (83f0348e) - feat: Add missing fields to
RoundedBackgroundTextField(8e7ce4a)- Added
textHeightBehavior - Added
textWidthBasis - Added
selectionHeightStyle - Added
selectionWidthStyle - Added
strutStyle - Added
dragStartBehavior - Added
contentInsertionConfiguration - Added
contextMenuBuilder - Added
spellCheckConfiguration - Added
magnifierConfiguration - Added
undoController - Added
scribbleEnabled - Added
locale - Added
onChanged - Added
onEditingComplete - Added
onSubmitted - Added
onAppPrivateCommand - Added
onSelectionHandleTapped - Added
onTapOutside
- Added
0.4.3 #
- fix:
RoundedBackgroundTextField.textAlignis respected (#17) - fix:
RoundedBackgroundTextFieldautomatic line break is respected - fix:
RoundedBackgroundText.selectabletext is no longer duplicated - fix: outerRadius is correctly calculated when normalizing the lines
- fix: update painting cases on the right side
0.4.2 #
- fix: TextField's text is no longer transparent
0.4.1 #
- fix: update how the line heights are calculated based on the baseline and its accent
0.4.0 #
- fix: hint is aligned with the text field (#7)
- feat:
RoundedBackgroundText.selectablenow usesSelectableTextunder the hood instead ofEditableText(4ba757) - fix: the width normalizer now works reversely. This means there will not be any inconsistencies when breaking lines (9ac0b6)
- fix: the background painter now updates correctly when property changes (076dd05)
fix: Highlighted text now works properly on
RoundedBackgroundTextField
0.3.0 #
- feat:
RoundedBackgroundTextFieldis now scrollable. The background will follow the scroll of the text field - feat: Added
.scrollController,.scrollPhysics,.scrollBehaviorand.scrollPaddingtoRoundedBackgroundTextField - feat:
RoundedBackgroundTextField.controlleris no longer required. If omitted, a local controller is created instead - fix: Dynamically calculate padding and factors for
RoundedBackgroundText(#6)
0.2.1 #
- fix:
RoundedBackgroundTextFieldnow shows the background properly as the user types
0.2.0 #
- fix:
RoundedBackgroundTextField.hintis no longer hidden. - feat: Added
RoundedBackgroundTextField.hintStyle, which is the text style applied to.hint - fix: Correctly apply padding to inner corners
- fix: Correctly apply size to background painter
- fix: Correctly inherit any
DefaultTextStyleabove - feat: Added
RoundedBackgroundText.selectable, a backgrounded version ofSelectableText
0.1.3 #
- Do not center the whole stack. It was causing clipping on the text field
0.1.2 #
RoundedBackgroundTextFieldnow scales down to fit the textRoundedBackgroundTextFieldnow can't be scrollableRoundedBackgroundTextFieldnow usesEditableTextinstead ofTextFieldin order to get the best positioning- Expose more text field properties
- Update example app
0.1.1 #
- Customizable radius
0.1.0 #
- Implement
RoundedBackgroundText - Implemnet
RoundedBackgroundTextField - Implemnet
RoundedBackgroundTextSpan