Skip to content
pubscout

ticket_material

0.3.1, released 5 years ago by an unverified publisher

A ticket view widget for Flutter applications.

WASM-ready
$ flutter pub add ticket_material
Source repository

What it does

Provides a customizable ticket view widget that supports left and right children layout sections. It includes a standard click behavior with tap animation support.

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

Use it when

  • You need to display a ticket-shaped UI component in your app
  • You want a widget with split content areas for boarding passes or coupons

Skip it when

  • You need web platform support
  • You need official macOS support

Strengths

  • Includes tap animation out of the box
  • Easy to integrate into standard Scaffold layouts

Weaknesses

  • Does not work on the web platform
  • Support for macOS is not guaranteed

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0

not documented

TicketMaterial(
  height: 150,
  colorBackground: Colors.blue,
  leftChild: Center(child: Text('LEFT PART')),
  rightChild: Center(child: Icon(Icons.airplanemode_active)),
)

Alternatives

Packages that do the same job and could replace ticket_material.