Skip to content

Commit b351c0b

Browse files
committed
login [nfc]: Express some unconditional padding more transparently
The top of this area will never be in the top inset, since that's consumed by the app bar. So "minimum 8" really just means always 8. So, express that more directly and transparently.
1 parent 6ac0536 commit b351c0b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/widgets/login.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,8 +411,9 @@ class LoginPageState extends State<LoginPage> {
411411
bottom: false,
412412
child: Center(
413413
child: SingleChildScrollView(
414+
padding: const EdgeInsets.only(top: 8),
414415
child: SafeArea(
415-
minimum: const EdgeInsets.symmetric(vertical: 8),
416+
minimum: const EdgeInsets.only(bottom: 8),
416417
// TODO also detect vertical scroll gestures that start on the
417418
// left or the right of this box
418419
child: ConstrainedBox(

0 commit comments

Comments
 (0)