Skip to content

Commit

Permalink
Replace Follow migration guide
Browse files Browse the repository at this point in the history
  • Loading branch information
chandrabezzo committed May 15, 2024
1 parent 67a1ab8 commit ae8d8a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## [2.1.2]
- Fixed removed deprecated text style after Flutter 3.22 for headline6 to headlineSmall and subtitle2 to labelMedium
- Fixed removed deprecated text style after Flutter 3.22 follow [migration guide](https://docs.flutter.dev/release/breaking-changes/3-19-deprecations#texttheme)

## [2.1.1]
- Fixed [#425](https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/issues/425) - Unhandled breaking change in v2.1.0
Expand Down
8 changes: 4 additions & 4 deletions lib/src/tooltip_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,12 @@ class _ToolTipWidgetState extends State<ToolTipWidget>
final titleStyle = widget.titleTextStyle ??
Theme.of(context)
.textTheme
.headlineSmall!
.titleLarge!
.merge(TextStyle(color: widget.textColor));
final descriptionStyle = widget.descTextStyle ??
Theme.of(context)
.textTheme
.labelMedium!
.titleSmall!
.merge(TextStyle(color: widget.textColor));
final titleLength = widget.title == null
? 0
Expand Down Expand Up @@ -454,7 +454,7 @@ class _ToolTipWidgetState extends State<ToolTipWidget>
style: widget.titleTextStyle ??
Theme.of(context)
.textTheme
.headlineSmall!
.titleLarge!
.merge(
TextStyle(
color: widget.textColor,
Expand All @@ -473,7 +473,7 @@ class _ToolTipWidgetState extends State<ToolTipWidget>
style: widget.descTextStyle ??
Theme.of(context)
.textTheme
.labelMedium!
.titleSmall!
.merge(
TextStyle(
color: widget.textColor,
Expand Down

0 comments on commit ae8d8a3

Please sign in to comment.