I'm currently working on a mobile app and i'm implementing a little user first use tutorial.
thus using the showcaseview 2.0.0+1 flutter package.
this package requires to call a callback when a widget is mounted and built.
@override
void initState() {
super.initState();
WidgetsBinding.instance.addPostFrameCallback(
(_) => ShowCaseWidget.of(context)
.startShowCase([_one, _two, _three, _four, _five]),
);
}
the only solution being to use stateful widgets.
my issue is that i used a lot of MVVM, change notifiers patterns to avoid using stateful widget in my app. and most of my widget are stateless.
is it really bad, performance wise, if i convert the widgets i want to showcase to stateful ? ( particularly that i won't use setState in those?)
Thank you for your help,