Skip to content

Commit cbcb453

Browse files
aloisdenielclaude
andcommitted
Fix analyzer issues after merge (deprecated Matrix4 methods, avoid_print).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 066c8c2 commit cbcb453

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

packages/flutter_omarchy/example/lib/gallery.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ class _WidgetsPageState extends State<WidgetsPage> {
724724
icon: Icon(OmarchyIcons.codFilePdf),
725725
title: Text('Subchild 2'),
726726
onTap: () {
727-
print('Tapped subchild 2');
727+
debugPrint('Tapped subchild 2');
728728
},
729729
),
730730
OmarchyTreeNode(

packages/flutter_omarchy/lib/src/widgets/pop_over.dart

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,13 @@ class _OmarchyPopOverAnimationState extends State<OmarchyPopOverAnimation> {
284284
duration: const Duration(milliseconds: 120),
285285
transformAlignment: Alignment.center,
286286
transform: Matrix4.identity()
287-
..translate(0.0, isShowing ? 0.0 : -10.0)
288-
..scale(isShowing ? 1.0 : 0.98),
287+
..translateByDouble(0.0, isShowing ? 0.0 : -10.0, 0.0, 1.0)
288+
..scaleByDouble(
289+
isShowing ? 1.0 : 0.98,
290+
isShowing ? 1.0 : 0.98,
291+
isShowing ? 1.0 : 0.98,
292+
1.0,
293+
),
289294
curve: Curves.easeInOut,
290295
onEnd: () {
291296
if (isShowing == false) {

0 commit comments

Comments
 (0)