flutter_dismissible_tile 1.0.0 copy "flutter_dismissible_tile: ^1.0.0" to clipboard
flutter_dismissible_tile: ^1.0.0 copied to clipboard

outdated

A package to dismiss a tile with animated customizable background.

Pub License: MIT

Features #

Dismissible tile and animated background on swipe. Swipe to trigger an action.

The package is fork of Dismissible. Without any up, down or vertical swipe.

Getting Started #

In the pubspec.yaml of your flutter project, add the following dependency:

dependencies:
  ...
  flutter_dismissible_tile: ^1.0.0

Import it:

import 'package:flutter_dismissible_tile/flutter_dismissible_tile.dart';

Usage #

You can read all the information about the DismissibleTile parameters in the documentation.

DismissibleTile(
    key: UniqueKey(),
    padding: const EdgeInsets.symmetric(vertical: 8),
    borderRadius: const BorderRadius.all(Radius.circular(16)),
    delayBeforeResize: const Duration(milliseconds: 500),
    ltrBackground: const ColoredBox(color: Colors.yellowAccent),
    rtlBackground: const ColoredBox(color: Colors.greenAccent),
    ltrDismissedColor: Colors.lightBlueAccent,
    rtlDismissedColor: Colors.redAccent,
    ltrOverlay: const Text('Add'),
    ltrOverlayDismissed: const Text('Added'),
    rtlOverlay: const Text('Delete'),
    rtlOverlayDismissed: const Text('Deleted'),
    child: // your child
);
22
likes
0
points
181
downloads

Publisher

unverified uploader

Weekly Downloads

A package to dismiss a tile with animated customizable background.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_dismissible_tile