merge address bar into search screen
This commit is contained in:
1 parent
629c6da667
commit
cbbbcf01e8
9 files changed
+184
-37
No files matched your search
@@ -47,3 +47,12 @@ int? getTextFieldLineCount(GlobalKey key, String text, TextStyle style) {
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
double? getTextFieldHeight(GlobalKey key) {
|
||||
final box = key.currentContext?.findRenderObject();
|
||||
if (box case final RenderBox box) {
|
||||
return box.size.height;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
Reference in new issue
Block a user