flutter_screenutil
flutter_screenutil copied to clipboard
Documentation mistake?
Hi there. Thank you for this package. It's really useful one. I've got a question related to the documentation. There is a mention in the docs that widget won't be marked as one that needs rebuild if:
- Widget does not declare SU mixin
- responsiveWidgets does not contains widget name
But I've checked code and noticed that widget marks dirty if widget is SU or responsiveWidgets.contains(widgetName).
final allowed = widget is SU ||
_canMarkedToBuild.contains(widgetName) ||
!(widgetName.startsWith('_') || flutterWidgets.contains(widgetName));
if (allowed) el.markNeedsBuild();
Is that a mistake in the docs or I got something wrong?
Thank you in advance!
I've also found the updated docs confusing