Closed theAkshay60 closed 5 months ago
In the above image when I tap on the Category Five, it's not scrolling to Category five, it's just stuck at category 4
ScrollableListTabScroller( padding: const EdgeInsets.symmetric(vertical: 10, horizontal: 0), scrollDirection: Axis.vertical, headerContainerBuilder: (context, child) { return Container( color: Colors.white, child: child, ); }, itemCount: resultList!.length, itemBuilder: (BuildContext context, int index) { final data = resultList?[index]; return Column( children: [ Ink( color: Colors.lightGreen, child: ListTile( title: Text( '${data?.category}', style: const TextStyle(fontSize: 18), ), ), ), for (int i = 0; i < data!.item!.length; i++) ListTile( title: Text( '${data.item?[i]}', style: const TextStyle(fontSize: 18), ), ), ], ); }, tabBuilder: (BuildContext context, int index, bool active) { return Container( width: size.width / 4, margin: const EdgeInsets.symmetric(horizontal: 10), decoration: BoxDecoration( border: Border( bottom: BorderSide( color: active ? const Color.fromRGBO(0, 79, 224, 1) : Colors.transparent, width: 2, ), ), ), child: Center( child: Text( "${resultList?[index].category}", style: TextStyle( fontSize: 18, color: active ? const Color.fromRGBO(0, 79, 224, 1) : Colors.black, ), ), ), ); }, initialAlignment: 0, earlyChangePositionOffset: 50, )
I'm aware about this issue, although it is still in a very low priority.
Hi , i am also facing same issue , is there any latest update regarding this(any solution)
Solved: https://github.com/railson-ferreira/scrollable_list_tab_scroller/releases/tag/v2.0.0
Hi its working.. thanks,
In the above image when I tap on the Category Five, it's not scrolling to Category five, it's just stuck at category 4