Skip to content

Instantly share code, notes, and snippets.

View joresv's full-sized avatar

Jores Tala joresv

View GitHub Profile
class CustomTicket extends CustomClipper<Path> {
@override
Path getClip(Size size) {
final path = Path();
//Radius
path.addRRect(
RRect.fromRectAndRadius(
Rect.fromLTWH(0, 0, size.width, size.height),
const Radius.circular(8),
),
@joresv
joresv / CountryCodes.json
Created April 19, 2023 13:30 — forked from anubhavshrimal/CountryCodes.json
Country and Dial or Phone codes in JSON format
[
{
"name": "Afghanistan",
"dial_code": "+93",
"code": "AF"
},
{
"name": "Aland Islands",
"dial_code": "+358",
"code": "AX"