merge address bar into search screen

This commit is contained in:
Fabian Freund committed 2026-01-19 16:01:44 +01:00
1 parent 629c6da667
commit cbbbcf01e8
9 files changed
+184 -37

No files matched your search

+9
View File
@@ -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;
}