/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.

Primary LanguageDartMIT LicenseMIT

metra_logo_Modern






METRA Website

Package: 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.

Tested Platform

WEB

  • MicroSoft Edge

cross_scroll web test

  • MacOS-Chrome mac-web-test

Windows

  • Windows 10

cross_scroll window test

Mobiles

  • IOS 15.2

IOS image



  • Android 11

Android image



Getting started

CrossScrollView

CrossScroll(
      child:///your child 
    )

Modify Thumb and Track

 CrossScrollBar crossScrollBar=CrossScrollBar(thumb: ScrollThumb.alwaysShow,
    track: ScrollTrack.show,
    thickness: 8,
    hoverThickness: 8,
    thumbRadius: Radius.elliptical(8, 8));

Scrolling Behaviours

 final CrossScrollStyle _crossScrollStyle =  CrossScrollStyle(
    physics: BouncingScrollPhysics(),
    keyboardDismissBehavior: ScrollViewKeyboardDismissBehavior.manual,
    padding:const EdgeInsets.symmetric(vertical: 2),
  );

Additional information

Coming soon...