In this example, we have share what is a proper way to get widget height in SafeArea? You can always use LayoutBuilder for such cases to get widget height in SafeArea.
1 2 3 4 5 6 7 8 | child: SafeArea( child: new LayoutBuilder( builder: (BuildContext context, BoxConstraints constraints) { // constraints variable has the size info return Container(); } ), ), |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.