Tag: numeric keyboard flutter

  • Flutter UI #66: Fun with Ticket in Flutter

    Tutorial and code of Ticket in Flutter. Copy and paste the below code as per your requirements. fw_ticket: ^0.1.1 import ‘package:fw_ticket/fw_ticket.dart’; import ‘package:flutter/material.dart’; void main() => runApp(const MyApp()); class MyApp extends StatelessWidget { const MyApp({Key? key}) : super(key: key); @override Widget build(BuildContext context) { return MaterialApp( debugShowCheckedModeBanner: false, home: Scaffold( appBar: AppBar( title: const Center(child:Text(‘Ticket’)), ), body: SizedBox( width: 375, child: Column( crossAxisAlignment: CrossAxisAlignment.center, mainAxisSize: MainAxisSize.min, children: <Widget>[ const SizedBox(height: 30.0,), Ticket( innerRadius: const BorderRadius.only( bottomLeft: Radius.circular(10.0), bottomRight: Radius.circular(10.0) ), outerRadius: const BorderRadius.all( Radius.circular(10.0)), boxShadow: const[ BoxShadow( offset: Offset(0, 4.0), blurRadius: 2.0, spreadRadius: 2.0, color: Color.fromRGBO(196, 196, 196, .76), )

    Read More