Open apotec-danilo opened 2 years ago
Please, provide a simple code example to reproduce the error and a more detailed explanation.
FlexibleScrollbar( controller: scrollController, scrollThumbBuilder: (ScrollbarInfo info) { return AnimatedContainer( margin: EdgeInsets.only(top: (info.thumbMainAxisSize - 10) / 2), width: 10, height: 10, decoration: BoxDecoration( borderRadius: BorderRadius.circular(5), color: Colors.black.withOpacity(info.isDragging ? 1 : 0.6), ), duration: const Duration(milliseconds: 300), ); }, scrollLineCrossAxisSize: 10, barPosition: BarPosition.end, scrollLineBuilder: (ScrollbarInfo info) { return Container(); }, child: ScrollConfiguration( behavior: ScrollConfiguration.of(context).copyWith(scrollbars: false), child: SingleChildScrollView( controller: scrollController, child: Wrap(children: List.generate(100, (index) => Container(height: 40, width: 200, child: Text('aaaa'))) ))), )
scrollAxisDirection on line 178 comes has null if scrollLineBuilder is used