super_text_layout 0.1.11 super_text_layout: ^0.1.11 copied to clipboard
Configurable, composable, extensible text display for Flutter.
[0.1.11] - Aug, 2024 #
- [BREAKING] - Replaced singular
UnderlineStyle
inTextUnderlineLayer
with a styler per underline (to support composing, spelling errors, and grammar errors). - Text selection boxes now support rounded corners.
- Adjusted the precise positioning of text selection rectangles.
[0.1.10] - June, 2024 #
FillWidthIfConstrained
uses ancestor constraints instead of ancestor size.- Changed
getLineHeightAtPosition
andgetCharacterBox
to both useRenderParagraph.getFullHeightForCaret()
. - Nudged the caret offset so that the caret straddles its desired location, instead of sitting completely to the right of it.
- Resolved some lint complaints.
[0.1.9] - Feb, 2024 #
- [FIX] -
BlinkController.isBlinking
now accounts for the use ofTimer
s in addition toTicker
s. - [FIX] - Changing
textAlign
forSuperText
correctly repositions carets, handles, and selection boxes for the newly aligned text. - [FIX] -
TextLayoutCaret
now respects the controller given to the widget, instead of ignoring it. TextLayout.getBoxesForSelection()
now allows you to choose betweentight
andmax
box sizes for each character box.- Related: underlines are now continuous instead of being broken between characters.
[0.1.8] - Dec, 2023 #
- Added
TextUnderlineLayer
to draw underlines beneath text. - Added
collection
dependency.
[0.1.7] - July, 2023 #
- Added
isBlinking
property toBlinkController
.
[0.1.6] - May, 2023 #
- Explicitly upgraded to Dart 3 support.
- Bumped
attributed_text
dependency to0.2.2
.
[0.1.5] - April, 2023 #
Added support for font scaling
- Bumped
attributed_text
dependency to0.2.1
.
[0.1.4] - Oct, 2022 #
Fixed a NullPointerException
in SuperTextLayout
[0.1.3] - July, 2022 #
Upgraded the dependency on attributed_text
from 0.1.3
to 0.2.0
[0.1.2] - DEPRECATED - July, 2022 #
Upgraded the dependency on attributed_text
from 0.1.3
to 0.2.0
[0.1.1] - DEPRECATED - July, 2022 #
Added estimatedLineHeight
to TextLayout
. The method is experimental - it may be removed later
[0.1.0] - May, 2022 #
The super_text_layout
package is extracted from super_editor
- Introduces
SuperText
widget to render text with layers above and beneath the text - Introduces
SuperTextWithSelection
to easily paint text with traditional user selections, which replaces previous uses ofSuperSelectableText
from earlier super_editor work