Skip to content

Commit 7ae2fa3

Browse files
committed
Use inside border due to a flutter regression.
1 parent dc176ca commit 7ae2fa3

File tree

1 file changed

+4
-2
lines changed
  • packages/flutter_box_transform/example/lib

1 file changed

+4
-2
lines changed

packages/flutter_box_transform/example/lib/main.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,8 @@ class _ImageBoxState extends State<ImageBox> {
558558
? Colors.red
559559
: handleColor,
560560
width: 2,
561-
strokeAlign: BorderSide.strokeAlignCenter,
561+
// TODO: Due to flutter issue in 3.7.10, this doesn't work in debug mode.
562+
// strokeAlign: BorderSide.strokeAlignCenter,
562563
),
563564
vertical: BorderSide(
564565
color: minWidthReached
@@ -567,7 +568,8 @@ class _ImageBoxState extends State<ImageBox> {
567568
? Colors.red
568569
: handleColor,
569570
width: 2,
570-
strokeAlign: BorderSide.strokeAlignCenter,
571+
// TODO: Due to flutter issue in 3.7.10, this doesn't work in debug mode.
572+
// strokeAlign: BorderSide.strokeAlignCenter,
571573
),
572574
)
573575
: null,

0 commit comments

Comments
 (0)