Get string size
520
Check out CustomSingleChildLayout
it allows that the child get's layed out first then you can position it based on its size
Author by
Filip Raj
Updated on November 28, 2022Comments
-
Filip Raj over 1 year
I am wondering if there is some function that returns size of a string similar to the size of NSString in iOS?
Ex. We need to have some Widget at the bottom of screen where at first we should see only text but after user pulls that widget up, we would see more (something like bottom sheet). That starting height of the widget depends on the string.
-
Günter Zöchbauer almost 6 yearspub.dartlang.org/packages/after_layout might help you get what you want.
-
Günter Zöchbauer over 5 years
-
Günter Zöchbauer over 5 years
-