I\'m trying to get the height of widget but it prints the same values
I/flutter (19253): full height: 976.0 I/flutter (19253): safe height: 976.0 >
You can always use LayoutBuilder for such cases.
LayoutBuilder
child: SafeArea( child: new LayoutBuilder( builder: (BuildContext context, BoxConstraints constraints) { // constraints variable has the size info return Container(); } ), ),
for more info: https://www.youtube.com/watch?v=IYDVcriKjsw