update invoice

This commit is contained in:
PhyoThandar
2020-10-14 20:56:46 +06:30
parent 1052278029
commit f2e8487122
14 changed files with 1758 additions and 292 deletions

View File

@@ -1,6 +1,7 @@
import 'dart:async';
import 'package:fcs/helpers/theme.dart';
import 'package:fcs/pages/widgets/local_text.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_pdfview/flutter_pdfview.dart';
@@ -29,13 +30,18 @@ class _PaymentPDFScreenState extends State<PaymentPDFScreen>
return Scaffold(
appBar: AppBar(
backgroundColor: primaryColor,
title: Text("Invoice File"),
title: LocalText(context, 'invoice.pdf',
color: Colors.white, fontSize: 20),
leading: new IconButton(
icon: new Icon(CupertinoIcons.back),
onPressed: () {
Navigator.of(context).pop();
}),
actions: <Widget>[
IconButton(
icon: Icon(Icons.file_download),
onPressed: () {},
),
IconButton(
icon: Icon(Icons.share),
onPressed: () {},