ticketview 0.0.1

Flutter Android iOS web

Its a clean Ticket view for Flutter application.

TicketViewFlutter #

TicketViewFlutter is a simple and customizable Ticket/Receipt View for Flutter. The source code is 100% Dart.

pub package License

Motivation #

I need some clean Ticket/Receipt View view for my Flutter application.

Getting started #

Installing #

Add this to your package's pubspec.yaml file:

This library is posted in pub.dev

pubspec.yaml

dependencies:  
	ticketview: ^1.0.0

Usage #

After Importing this library, you can directly use this view in your Widget tree

import 'package:ticketview/ticketview.dart';

Default Ticket View

TicketView(
        child: Container(),
    )

Customized Receipt View

TicketView(
      backgroundPadding: EdgeInsets.symmetric(vertical: 0, horizontal: 20),
      backgroundColor: Color(0xFF8F1299),
      contentPadding: EdgeInsets.symmetric(vertical: 24, horizontal: 0),
      drawArc: false,
      triangleAxis: Axis.vertical,
      borderRadius: 6,
      drawDivider: true,
      trianglePos: .5,
      child: Container(),
    )

Customization #

Depending on your view you may want to tweak the UI. For now you can these custom attributes

PropertyTypeDescription
'backgroundColor'ColorBackground card color for TicketView
'contentBackgroundColor'ColorContent card color for TicketView

Screenshots #

alt text        alt text

Author #

  • Saurabh K Sharma - GIT

    I am very new to open source community. All suggestion and improvement are most welcomed.

Contributing #

  1. Fork it (https://github.com/sorbh/ticketviewflutter/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request
2
likes
80
pub points
63%
popularity

Its a clean Ticket view for Flutter application.

Repository (GitHub)
View/report issues

Uploader

er.sorbh@gmail.com

License

BSD (LICENSE)

Dependencies

flutter

More

Packages that depend on ticketview