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

Is there any way that i can implement to curve the moving line on edges ? Implementing in Flutter

My code as of now: class RoundedRectanglePainter extends CustomPainter { final Color strokeColorGradientStart; final Color strokeColorGradientEnd; final double strokeWidth; final double borderRadius; final Color fillColorGradientStart; final Color fillColorGradientEnd; final Animation<double> animation; RoundedRectanglePainter({ required this.strokeColorGradientStart, required this.strokeColorGradientEnd, required this.strokeWidth, required this.borderRadius,…

VIEW QUESTION
Back To Top
Search