Skip to content

Commit b71ddfe

Browse files
Merge branch 'main' into popup-visibility
2 parents d25f69e + db00748 commit b71ddfe

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
## 1.0.0
22

3+
- BREAKING: require flutter 3.27.0 or higher
4+
- BREAKING: require dart 3.0.0 or higher
35
- BREAKING: rename autoFocus to autofocus to match `TextField`'s naming
46
- Add missing properties from flutter's `TextField`
57
- autofillHints

lib/src/core/controllers/language_tool_controller.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,8 @@ class LanguageToolController extends TextEditingController {
235235
),
236236
mouseCursor: WidgetStateMouseCursor.textable,
237237
style: style?.copyWith(
238-
backgroundColor: mistakeColor.withOpacity(
239-
highlightStyle.backgroundOpacity,
238+
backgroundColor: mistakeColor.withValues(
239+
alpha: highlightStyle.backgroundOpacity,
240240
),
241241
decoration: highlightStyle.decoration,
242242
decorationColor: mistakeColor,

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ version: 1.0.0
44
homepage: https://github.com/solid-software/languagetool_textfield/
55

66
environment:
7-
sdk: ">=2.18.6 <4.0.0"
8-
flutter: ">=1.17.0"
7+
sdk: ">=3.0.0 <4.0.0"
8+
flutter: ">=3.27.0"
99

1010
dependencies:
1111
async: ^2.11.0

0 commit comments

Comments
 (0)