skip to Main Content

Flutter : force createState() for inherited StatefulWidget

Edit: solved by adding a unique key to the widget constructor call: Edit 2: as Randal Schwartz mentioned -> this is not a solution. Issue NOT solved and still open. @override SearchTermInput get searchTermInput => SearchTermInputOneString( key: UniqueKey(), currentSearchTermInputContent: widgetRef.read(apiEndpointUniversalSearchTermInputContentProvider),…

VIEW QUESTION
Back To Top
Search