1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00

Fix Crane search bar margin (#350)

This commit is contained in:
Pierre-Louis
2020-03-05 10:44:50 +01:00
committed by GitHub
parent 9bc8a3a537
commit 792f3aac5e

View File

@@ -168,8 +168,8 @@ class _BackdropState extends State<Backdrop> with TickerProviderStateMixin {
margin: EdgeInsets.only(
top: isDesktop
? (isDisplaySmallDesktop(context)
? textFieldHeight * 2
: textFieldHeight) +
? textFieldHeight * 3
: textFieldHeight * 2) +
20 * textScaleFactor / 2
: 175 + 140 * textScaleFactor / 2,
),