deck_scrollview 0.1.0

  • Readme
  • Changelog
  • Example
  • Installing
  • 58

deck_scrollview #

A scrollview like recent task view of system in Android

Getting Started #

example #

import 'package:flutter/material.dart';
import 'package:deck_scrollview/deck_scroll_view.dart';

void main() => runApp(MyApp());
const List<String> IMAGES = [

class MyApp extends StatefulWidget {
  _MyAppState createState() => _MyAppState();

class _MyAppState extends State<MyApp> {
  List<String> imageList = List.generate(20, (int index) => IMAGES[index % IMAGES.length]);

  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        body: DeckScrollView.useDelegate(
          layoutPow: 5.0,
          itemExtent: 250,
          childDelegate: DeckChildBuilderDelegate(
              builder: (context, index) => Padding(
                    padding: const EdgeInsets.all(8.0),
                    child: Container(
                      width: double.infinity,
                      decoration: BoxDecoration(
                        color: Colors.white,
                        boxShadow: [BoxShadow(blurRadius: 3, color: Color(0x44000000))],
                        borderRadius: BorderRadius.all(Radius.circular(5)),
                      child: ClipRRect(
                        borderRadius: BorderRadius.all(Radius.circular(5)),
                          fit: BoxFit.cover,
              childCount: imageList.length),


0.1.0 #

  • Modify description in pubspec.yaml
  • Format lib/deck_scroll_view.dart and lib/deck_viewport.dart

0.0.1 #

  • First Release.


deck_scrollview_example #

Demonstrates how to use the deck_scrollview plugin.

Getting Started #

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  deck_scrollview: ^0.1.0

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter pub get

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

3. Import it

Now in your Dart code, you can use:

import 'package:deck_scrollview/deck_scroll_view.dart';
import 'package:deck_scrollview/deck_viewport.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Dec 9, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.6.1
  • pana: 0.12.21
  • Flutter: 1.9.1+hotfix.6

Maintenance suggestions

The package description is too short. (-4 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
flutter 0.0.0
vector_math ^2.0.8 2.0.8
Transitive dependencies
collection 1.14.11 1.14.12
meta 1.1.7 1.1.8
sky_engine 0.0.99
typed_data 1.1.6
Dev dependencies