FLUTTER ECOSYSTEM

shivbo96/page_flip

앱 내 위젯에 페이지 뒤집기 효과를 추가하는 데 도움이 되는 플러터 패키지입니다.

page_flip 프로젝트 이미지
Stars
45
Forks
28
최근 푸시(UTC)
2025. 4. 3.
프로젝트 상태
활성
Shivam Mishra GitHub avatar
GITHUB User

Shivam Mishra ↗

Senior Flutter Engineer • Open Source Maintainer • Building Routix (Smart Deep Linking Platform) • Backend & AI Learner

Noida, India
언어DartC++CMakeHTMLSwiftCKotlinObjective-C

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 3 개
  • flutter{"sdk":"flutter"}
  • flutter_test개발 의존성{"sdk":"flutter"}
  • flutter_lints개발 의존성^2.0.0

원본 README

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

README 펼치기 / 접기

Pub

Page Flip Widget

A flutter package which will help you to add page flip effect to widgets in your app.

Re-created by Techahead Software

Usage

Use this package as a library

  1. Depend on it Add this to your package's pubspec.yaml file:
dependencies:
  page_flip: <VERSION>
  1. Install it You can install packages from the command line: with Flutter:
$ flutter pub get

Alternatively, your editor might support flutter packages get. Check the docs for your editor to learn more.

  1. Import it Now in your Dart code, you can use:
import 'package:page_flip/page_flip.dart';

Example


  final _controller = GlobalKey<PageFlipWidgetState>();


    Scaffold(
      body: PageFlipWidget(
        key: _controller,
        backgroundColor: Colors.white,
        // isRightSwipe: true,
        lastPage: Container(color: Colors.white, child: const Center(child: Text('Last Page!'))),
        children: <Widget>[
          for (var i = 0; i < 10; i++) DemoPage(page: i),
        ],
      ),
      floatingActionButton: FloatingActionButton(
        child: const Icon(Icons.looks_5_outlined),
        onPressed: () {
          _controller.currentState?.goToPage(5);
        },
      ),
    );
      

refer to example/lib/main.dart

Screenshots

https://raw.githubusercontent.com/shivbo96/page_flip/main/screenshots/4.gif https://raw.githubusercontent.com/shivbo96/page_flip/main/screenshots/1.png https://raw.githubusercontent.com/shivbo96/page_flip/main/screenshots/2.png https://raw.githubusercontent.com/shivbo96/page_flip/main/screenshots/3.png https://raw.githubusercontent.com/shivbo96/page_flip/main/screenshots/4.png

More information

Pub package Flutter documentation.