Open zhongkai886 opened 2 years ago
can you give me your example code?
example code I use screen width make a container in SingleChildScrollView AdaptiveScrollbar and SingleChildScrollView have same width improve AdaptiveScrollbar can't use mouse scroll issue
Flexible(
fit: FlexFit.tight,
flex: 1,
child: AdaptiveScrollbar(
sliderDefaultColor: sliderDefaultColor,
sliderActiveColor: sliderActiveColor,
width: scrollWidth,
controller: _ruleSettingVerticalScrollController,
child: AdaptiveScrollbar(
sliderDefaultColor: sliderDefaultColor,
sliderActiveColor: sliderActiveColor,
position: ScrollbarPosition.bottom,
width: scrollWidth,
controller: _ruleSettingHorizontalScrollController,
child: SingleChildScrollView(
scrollDirection: Axis.vertical,
controller: _ruleSettingVerticalScrollController,
child: SingleChildScrollView(
scrollDirection: Axis.horizontal,
controller: _ruleSettingHorizontalScrollController,
child: Form(
key: _examItemRulesFormKey,
child: Obx(
() => Container(
width: MainController.instance.mainContainerWidth * 0.5,
child: Row(
mainAxisSize: MainAxisSize.min,
mainAxisAlignment: MainAxisAlignment.start,
children: [
],
),
),
),
),
),
),
),
),
),
adaptive_scrollbar need mouse to scroll singleChildScrollView [ child widget ]
Although the [ child widget ] width can be set , but I need adaptive_scrollbar to scroll through the mouse