ticket_card 0.2.0 ticket_card: ^0.2.0 copied to clipboard
A ticket-like card widget that we can use to create something like a train or movie ticket interface
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add ticket_card
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
ticket_card: ^0.2.0
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:ticket_card/ticket_card.dart';