fix barcode scanning

This commit is contained in:
Sai Naw Wun
2020-10-09 02:42:21 +06:30
parent 3f2442dbf2
commit 776ebf52ee
6 changed files with 43 additions and 23 deletions

View File

@@ -22,8 +22,8 @@ class TaskButton extends StatelessWidget {
onTap: btnCallback != null ? btnCallback : () => {},
child: Container(
width: 120,
height: 140,
padding: EdgeInsets.only(top: 10.0, left: 5, right: 5),
height: 170,
padding: EdgeInsets.only(top: 0.0, left: 5, right: 5),
decoration: new BoxDecoration(
color: Colors.transparent,
borderRadius: new BorderRadius.only(
@@ -36,9 +36,9 @@ class TaskButton extends StatelessWidget {
child: Material(
color: Colors.black54, // button color
child: SizedBox(
width: 60,
height: 60,
child: Icon(icon, color: Colors.white, size: 30)),
width: 100,
height: 100,
child: Icon(icon, color: Colors.white, size: 50)),
),
),
Container(