cross_scroll

Creator: coderz1093

Last updated:

Add to Cart

Description:

cross scroll

Cross Scroll #
A CrossScroll is a flutter Package that permits itโ€™s child views to be scrolled vertically and Horizontally. This is important because in many cases you need content to be scrolled on both side.
List of features #

The vertical scrollbar wil never hides when the scrolling on horizontal axis and vice versa. The scrollBar never hides with scrolling on any directions.
Support track onClick scrolls.
Support thumb Drag scrolls.
Support All feature SingleChildScrollView have.

๐Ÿ”— Links #

Tested Platform #
WEB

MicroSoft Edge





MacOS-Chrome


Windows

Windows 10


Mobiles

IOS 15.2





Android 11




Getting started #
CrossScrollView #
CrossScroll(child:Container(), ///your child
);

copied to clipboard
Modify Thumb and Track
CrossScrollBar crossScrollBar=CrossScrollBar(thumb: ScrollThumb.alwaysShow,
track: ScrollTrack.show,
thickness: 8,
hoverThickness: 8,
thumbRadius: Radius.elliptical(8, 8));
copied to clipboard
Scrolling Behaviours
final CrossScrollStyle _crossScrollStyle = CrossScrollStyle(
physics: BouncingScrollPhysics(),
keyboardDismissBehavior: ScrollViewKeyboardDismissBehavior.manual,
padding:const EdgeInsets.symmetric(vertical: 2),
);

copied to clipboard
Infinite Cross Scrolling (BETA)

CrossScrollBar(
controller: controller,
child: InfiniteCrossScroll(
maxRows: 10,
maxColumns: 10,
controller: controller,
cellSize: const Size(150, 150),
builder: (context, vicinity) => Container(
height: 150,
width: 150,
color: Color.fromARGB(255, Random().nextInt(255),
Random().nextInt(255), Random().nextInt(255)),
),
),
),

copied to clipboard
License #
This project is licensed under the MIT License - see the LICENSE file for details.
Additional information #
Coming soon...

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.