ticket_clippers 0.0.5 ticket_clippers: ^0.0.5 copied to clipboard
Flutter package that provides you clippers to create tickets.
Flutter package that provides you clippers to create tickets.
Getting started #
To use this plugin, add ticket_clippers as a dependency in your pubspec.yaml file.
dependencies:
ticket_clippers:
Import #
import 'package:ticket_clippers/ticket_clippers.dart';
Screenshots #
Example #
ClipPath(
clipper: TicketRoundedEdgeClipper(
edge: Edge.horizontal, // edge can be horizontal, vertical, top, left, right, bottom and all.
position: 150,
radius: 25,
),
child: Container(
height: 300,
width: 220,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(20), color: Colors.white),
child: const Center(
child: Text(
'Ticket Rounded Clipper',
style: TextStyle(
fontSize: 15,
color: Colors.black,
),
),
),
),
);
CREATED BY #
NOBOMAN