FLUTTER ECOSYSTEM

vanlooverenkoen/flutter_scroll_when_needed

필요할 때만 스크롤할 수 있도록 해주는 Flutter 패키지입니다.

flutter_scroll_when_needed 프로젝트 이미지
Stars
3
Forks
1
최근 푸시(UTC)
2023. 5. 11.
프로젝트 상태
활성
Koen Van Looveren GitHub avatar
GITHUB User

Koen Van Looveren ↗

Igniting a digital impakt on your products, your customer, communities with Impaktfull. Mainly using Flutter / Dart / Webflow / Node.js. Never stop learning!

@impaktfull & @flutter-belgium Antwerp, Belgium공식 웹사이트 ↗
언어DartKotlinSwiftHTMLObjective-C

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 2 개
  • flutter{"sdk":"flutter"}
  • flutter_test개발 의존성{"sdk":"flutter"}

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

scroll_when_needed

Pub

This packages contains a custom scrollbehavior and scroll physics that can be used to have platform specific scrolling behaviour when there is not enough space in a scrollable widget

How to use this package:

ScrollConfiguration(
    behavior: ScrollWhenNeededBehavior(),
    child: ListView(
        physics: ScrollWhenNeededPhysics(targetPlatform: Theme.of(context).platform),
        children: [
            Container(
                height: 100,
                color: Colors.amber,
            ),
            TextField(),
            Container(
                height: 300,
                color: Colors.amber,
            ),
        ],
    ),
),