add pagination for invoice and update ui for material 3

This commit is contained in:
tzw
2024-01-26 16:56:20 +06:30
parent 93a5fe071a
commit 8d0f712bf4
32 changed files with 351 additions and 635 deletions

View File

@@ -72,27 +72,18 @@ class Bubble extends StatelessWidget {
getMsg(context, icon),
TextButton(
style: TextButton.styleFrom(
backgroundColor:Colors.blue[50],
backgroundColor: Colors.blue[50],
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(10.0),
)),
onPressed: () {},
borderRadius: BorderRadius.circular(10.0),
)),
onPressed: () {
_viewDetail();
},
child: Text(
getLocalString(context, "message.view.detail"),
style: TextStyle(
color: primaryColor,
fontWeight: FontWeight.bold)))
// FlatButton(
// shape: RoundedRectangleBorder(
// borderRadius: BorderRadius.circular(10.0),
// ),
// color: Colors.blue[50],
// onPressed: () => _viewDetail(),
// child: Text(
// getLocalString(context, "message.view.detail"),
// style: TextStyle(
// color: primaryColor,
// fontWeight: FontWeight.bold)))
]
: [
Text(isCustomer ? "FCS Team" : sender ?? "",