Skip to content

Commit f229912

Browse files
committed
🎨 Enhance RTL compatibility.
1 parent d2fb9f4 commit f229912

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

lib/src/widget/fixed_appbar.dart

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -176,14 +176,16 @@ class FixedAppBarWrapper extends StatelessWidget {
176176
type: MaterialType.transparency,
177177
child: Stack(
178178
children: <Widget>[
179-
Positioned(
179+
Positioned.fill(
180180
top: kToolbarHeight + MediaQuery.of(context).padding.top,
181-
left: 0.0,
182-
right: 0.0,
183-
bottom: 0.0,
184181
child: body,
185182
),
186-
Positioned(top: 0.0, left: 0.0, right: 0.0, child: appBar),
183+
PositionedDirectional(
184+
top: 0.0,
185+
start: 0.0,
186+
end: 0.0,
187+
child: appBar,
188+
),
187189
],
188190
),
189191
);

0 commit comments

Comments
 (0)