add signin function

This commit is contained in:
Sai Naw Wun
2020-08-30 21:26:37 +06:30
parent 76155a10e8
commit 10338bbfe9
176 changed files with 664 additions and 756 deletions

View File

@@ -4,7 +4,7 @@ import 'package:flutter/material.dart';
import 'package:intl/intl.dart';
import 'package:provider/provider.dart';
import 'package:fcs/model/language_model.dart';
import 'package:fcs/theme/theme.dart';
import 'package:fcs/fcs/common/theme.dart';
import 'package:fcs/vo/product.dart';
import 'package:fcs/widget/local_text.dart';
import 'package:fcs/widget/localization/app_translations.dart';
@@ -19,7 +19,6 @@ class _ProductPriceTableState extends State<ProductPriceTable> {
final numberFormatter = new NumberFormat("#,###");
var dateFormatter = new DateFormat('dd MMM yyyy\nhh:mm:ss a');
@override
Widget build(BuildContext context) {
var productModel = Provider.of<ProductModel>(context);
@@ -42,7 +41,8 @@ class _ProductPriceTableState extends State<ProductPriceTable> {
columns: [
DataColumn(label: LocalText(context, "product.update.date")),
DataColumn(label: LocalText(context, "prodcuts")),
DataColumn(label: LocalText(context, "products.prices"),numeric: true),
DataColumn(
label: LocalText(context, "products.prices"), numeric: true),
],
rows: getProductRow(productModel.getPrices),
),