isScroll method
Widget
isScroll({
- Key? key,
- bool noScrollBehavior = true,
- ScrollPhysics? physics,
- ScrollController? scrollController,
- bool reverse = false,
- bool? primary,
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
Implementation
Widget isScroll({
Key? key,
bool noScrollBehavior = true,
ScrollPhysics? physics,
ScrollController? scrollController,
bool reverse = false,
bool? primary,
DragStartBehavior dragStartBehavior = DragStartBehavior.start,
}) =>
noScrollBehavior
? ScrollConfiguration(
behavior: NoScrollBehavior(),
child: SingleChildScrollView(
key: key,
physics: physics ?? const BouncingScrollPhysics(),
reverse: reverse,
primary: primary,
dragStartBehavior: dragStartBehavior,
controller: scrollController,
scrollDirection: direction,
child: this))
: SingleChildScrollView(
key: key,
physics: physics ?? const BouncingScrollPhysics(),
reverse: reverse,
primary: primary,
dragStartBehavior: dragStartBehavior,
controller: scrollController,
scrollDirection: direction,
child: this);