“flutter initstate in stateless widget” Code Answer
Read moreWhat is void initState?
void initState() @mustCallSuper, @protected. Called when this object is inserted into the tree . The framework will call this method exactly once for each State object it creates.
Read more