Skip to content

Just move the items you want to delete onto the trash can, now they've been deleted.

License

Notifications You must be signed in to change notification settings

taylanyildiz/removable_trash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

removable_trash_package

Just move the items which you want to delete onto the trash can, now they've been deleted.

App Display

Example Usage

-home screen

 Removable(
    width: 400.0,
    height: 400.0,
    actionAlignment: Alignment.center,
    dismissed: (index) => _showSnackBar(index),
    actionDelegate: RemovableActionBuilderDelegate(
    actionCount: moviesList.length,
    builder: (context, index) {
        return Container(
        width: 200.0,
        height: 200.0,
        decoration: BoxDecoration(
            borderRadius: BorderRadius.circular(20.0),
        ),
        child: ClipRRect(
            borderRadius: BorderRadius.circular(20.0),
            child: Image.asset(
            moviesList[index].imgUrl,
            fit: BoxFit.cover,
         ),
        ),
     );
    },
  ),
),

lib src file

yaml

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.

About

Just move the items you want to delete onto the trash can, now they've been deleted.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published