get container position flutter code example
Example: get position of a widget in screen flutter
@override void initState() { WidgetsBinding.instance.addPostFrameCallback(_afterLayout); super.initState(); } _afterLayout(_) { _getSizes(); _getPositions(); }