FLUTTER ECOSYSTEM

100lvlmaster/stacked_page_view

스택된 페이지 뷰를 렌더링하는 Flutter 플러그인

stacked_page_view 프로젝트 이미지
Stars
13
Forks
3
최근 푸시(UTC)
2021. 6. 17.
프로젝트 상태
활성
Navin Kodag GitHub avatar
GITHUB User

Navin Kodag ↗

Full Stack developer

Navi Mumbai,India
언어DartHTMLSwiftKotlinObjective-C

기술 주제

이 저장소가 배포한 패키지

사용 중인 의존성

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

원본 README

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

README 펼치기 / 접기

Stacked Page View!

flutter dart

pub.dev/stacked_page_view

Hi! This package will create stacked page view in your flutter app. it's as lightweight as it can get⚡⚡ .

  • Just wrap it between your PageView builder and the iterable children like the code below.
PageView.builder(
        itemCount: 10,
        scrollDirection: Axis.vertical,
        controller: pageController,
        itemBuilder: (context, index) {
          return StackPageView(
            controller: pageController,
            index: index,
            child: Container(
              color: (colors..shuffle()).first,
              child: Center(
                child: Text(
                  '$index',
                  style: TextStyle(
                    color: Colors.white,
                    fontSize: 25,
                  ),
                ),
              ),
            ),
          );
        },
      )

example gif