Skip to content
pubscout

card_actions

0.0.1, released 4 years ago by an unverified publisher

Flutter package to add hover actions and enhancements to cards.

WASM-ready
$ flutter pub add card_actions
Source repository

What it does

It lets developers wrap their cards in a CardActions widget to provide customizable action buttons that appear on hover. It supports configurable dimensions, directions, background colors, cursors, and tooltips.

AI-written summary of version 0.0.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want to add hover-triggered action buttons to desktop or web cards
  • You need customizable tooltips and cursors for card action buttons

Skip it when

  • You need mobile device support immediately, as it is not yet fully optimized or supported for mobile touch interactions
  • You require complex state management solutions

Strengths

  • Simple and clean API
  • Great customization options for cursors, background colors, and axis directions

Weaknesses

  • Not yet usable on mobile devices out of the box
  • Early stage version (0.0.1)

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1

Not documented

CardActions(
    width: 200,
    height: 200,
    actions: <CardActionButton>[
        CardActionButton(
            icon: Icon(Icons.edit, color: Colors.white),
            label: 'edit',
            press: () {},
        ),
    ],
    child: YourCard(),
)

Alternatives

Packages that do the same job and could replace card_actions.

  • ticketcher

    Create ticket-style cards, boarding passes, and coupons with custom notches, borders, and dividers.

  • stac_framework

    Enables easy creation of custom parsers for widgets and actions in server-driven UI implementations.

  • gestures

    Custom gesture detector widget for Flutter

  • flutter_decorated_text

    A widget to style and interact with parts of a text string based on predefined rules.

Works with

Packages commonly used together with card_actions: ones it builds on, ones built on it, and its own family.