Skip to content

Commit 8f5e153

Browse files
committed
[3.35.1] Fix SDK dependency
1 parent 0fbb256 commit 8f5e153

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/src/decoration/neumorphic_emboss_decoration_painter.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ class NeumorphicEmbossDecorationPainter extends BoxPainter {
130130

131131
void _paintShadows(Canvas canvas, Path path) {
132132
final Matrix4 matrix4 = Matrix4.identity()
133+
// ignore: deprecated_member_use
133134
..scale(_cache.scaleX, _cache.scaleY);
134135

135136
canvas

lib/src/widget/app_bar.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ class NeumorphicAppBarState extends State<NeumorphicAppBar> {
175175

176176
Widget? title = widget.title;
177177
if (title != null) {
178-
final AppBarTheme appBarTheme = AppBarTheme.of(context);
178+
final AppBarThemeData appBarTheme = AppBarTheme.of(context);
179179
title = DefaultTextStyle(
180180
style: (appBarTheme.titleTextStyle ??
181181
Theme.of(context).textTheme.titleMedium!)

0 commit comments

Comments
 (0)