FLUTTER ECOSYSTEM

CaptainOmega/flutter_mobile_carousel

Flutter 카루셀 슬라이더 위젯으로 드래그 앤 드롭 애니메이션을 사용하여 셀을 렌더링할 수 있습니다.

flutter_mobile_carousel 프로젝트 이미지
Stars
3
Forks
2
최근 푸시(UTC)
2019. 5. 24.
프로젝트 상태
활성
Denis Evdokimov GitHub avatar
GITHUB User

Denis Evdokimov ↗

언어DartObjective-CJava

이 저장소가 배포한 패키지

사용 중인 의존성

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

원본 README

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

README 펼치기 / 접기

Flutter carousel

Flutter carousel slider widget, allow render cells with Drag-and-drop animation.

Features

  • Easy to use API
  • Drag and drop without lags
  • Uniformly accelerated motion animation
  • Available customize carousel cells and background
  • Auto size cells by horizontal
  • Fix cells count
  • Motion event handling

Installation

Add flutter_mobile_carousel: ^1.0.2 in your pubspec.yaml dependencies. Import the library via:

import 'package:flutter_mobile_carousel/carousel.dart';

Run example

In repository directory run this commands in terminal:

cd example
flutter run

demo.gif

Usage

Create simple Carousel widget:

Carousel(
  rowCount: 3,
  children: [
    'Item 1',
    'Item 2',
    'Item 3',
    'Item 4',
    'Item 5',
    'Item 6',
  ].map((String itemText) {
    return DefaultCarouselItem(itemText);
  }).toList()
),

You can watch more examples in example directory