Skip to content
pubscout

ticket_widget

1.0.2, released 3 years ago by dholasain.com

Flutter package to implement a ticket-like widget in your application.

WASM-ready
$ flutter pub add ticket_widget
Source repository

What it does

Provides a TicketWidget component that helps render ticket-styled UI elements with options for corner rounding, custom dimensions, and padding. It is written in 100% Dart with null safety support.

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

Use it when

  • You need to display boarding passes, event tickets, or coupon designs in your UI
  • You want a pre-built widget styled specifically like a ticket

Skip it when

  • You need complex physics-based interactive ticket animations
  • You are looking for general-purpose layout containers without ticket styling

Strengths

  • Easy to integrate with declarative configuration like width, height, and padding
  • Supports rounded corners out of the box

Weaknesses

  • Limited documentation and features beyond basic ticket rendering
  • No documented advanced customization for ticket cutouts or notches

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
TicketWidget(
    width: 350,
    height: 500,
    isCornerRounded: true,
    padding: EdgeInsets.all(20),
    child: TicketData(),
)

Alternatives

Packages that do the same job and could replace ticket_widget.