A customizable Flutter carousel widget with infinite scrolling, auto-scrolling, pre-built indicators, expandable widgets, auto-sized child support, and enlarged center page.
When trying to programmatically scroll on tap event, I am getting below error. Sometimes on first tap, other times it works once, then it fails on second tap.
_CastError (Null check operator used on a null value)
Error is on line 78, _state is null:
final isNeedResetTimer = _state!.options.pauseAutoPlayOnManualNavigate;
When trying to programmatically scroll on tap event, I am getting below error. Sometimes on first tap, other times it works once, then it fails on second tap.
Error is on line 78,
_state
isnull
:final isNeedResetTimer = _state!.options.pauseAutoPlayOnManualNavigate;
This is my code snippet: