Search packages, repositories and app categories

GitHub repositoryCaptainOmega/flutter_mobile_carousel

flutter_mobile_carousel

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

flutter_mobile_carousel project cover
Stars
3
Forks
2
Last push (UTC)
May 24, 2019
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

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

Denis Evdokimov GitHub avatar
GitHub author

Denis Evdokimov ↗

LanguagesDartObjective-CJava

Packages published by this repository

Dependencies used

Dependency list 2 items

  • flutter{"sdk":"flutter"}
  • flutter_testDevelopment{"sdk":"flutter"}

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗