Carousel by PIT

Our custom Carousel

Note: This plugin is still under development, and some Components might not be available yet or still has so many bugs.

Installation

First, add pit_carousel as a dependency in your pubspec.yaml file.

pit_carousel: ^0.1.0

Example

class PitCarouselDemo extends StatefulWidget {
  @override
  _PitCarouselDemoState createState() => _PitCarouselDemoState();
}

class _PitCarouselDemoState extends State<PitCarouselDemo> {
  List<Widget> _pages = [
    Image.network(
        "http://androidcut.com/wp-content/uploads/2017/07/Boat-River-View-1920x1080-Portrait.jpg",
        fit: BoxFit.cover),
    Image.network(
        "http://androidcut.com/wp-content/uploads/2017/08/Beach-Top-View-Wallpaper-Portrait-1920x1080.jpg",
        fit: BoxFit.cover),
    Image.network(
        "http://www.sompaisoscatalans.cat/simage/8/85501/wallpaper-portrait-android.jpg",
        fit: BoxFit.cover),
    Image.network(
        "https://c.wallhere.com/photos/dd/c9/architecture_building_skyscraper_blueprints_digital_art_3d_object_render_CGI-88920.jpg!d",
        fit: BoxFit.cover),
    Image.network("https://pbs.twimg.com/media/C2dVR-sWEAAaId7.jpg",
        fit: BoxFit.cover),
    Image.network(
        "https://www.gambar.co.id/wp-content/uploads/2018/04/wallpaper-xiaomi-mi-a1-hd-download-hd-wallpapers-of-digital-art-portrait-display-of-wallpaper-xiaomi-mi-a1-hd.png",
        fit: BoxFit.cover),
    Image.network(
        "http://htc-wallpaper.com/wp-content/uploads/2013/11/Moon1.jpg",
        fit: BoxFit.cover),
  ];

  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: AdvCarousel(
          children: _pages,
          dotAlignment: Alignment.topLeft,
          height: double.infinity,
          animationCurve: Curves.easeIn,
          animationDuration: Duration(milliseconds: 300),
          displayDuration: Duration(seconds: 3),
        ),
      ),
    );
  }
}

Libraries

Dart

dart:ui
Built-in types and core primitives for a Flutter application. [...]

Core

dart:async
Support for asynchronous programming, with classes such as Future and Stream. [...]
dart:collection
Classes and utilities that supplement the collection support in dart:core. [...]
dart:convert
Encoders and decoders for converting between different data representations, including JSON and UTF-8. [...]
dart:core
Built-in types, collections, and other core functionality for every Dart program. [...]
dart:developer
Interact with developer tools such as the debugger and inspector. [...]
dart:math
Mathematical constants and functions, plus a random number generator. [...]
dart:typed_data
Lists that efficiently handle fixed sized data (for example, unsigned 8 byte integers) and SIMD numeric types. [...]

VM

dart:io
File, socket, HTTP, and other I/O support for non-web applications. [...]
dart:isolate
Concurrent programming using isolates: independent workers that are similar to threads but don't share memory, communicating only via messages. [...]