📒Debug notes of Flutter Development 🐛
- Get the position of a Widget
RenderBox box = context.findRenderObject();
Position position = box.localToGlobal(Offset.zero)
double dx = position.dx;
Anything that isn't known at compile time should be final over const.
Error:
Running new app on actual iOS (13.3.1) device crashes on startup: code signature invalid for "path/to/Flutter.framework/Flutter"
Solution: It's caused by individual profile. Problem at Apple Dev end. Use Team Profile to sign now.