add disable customer function

This commit is contained in:
Sai Naw Wun
2020-10-17 01:40:24 +06:30
parent 13fa1903bc
commit fa9738f307
28 changed files with 196 additions and 205 deletions

View File

@@ -9,8 +9,14 @@ class LocalButton extends StatelessWidget {
final CallBack callBack;
final IconData iconData;
final String textKey;
final Color color;
const LocalButton({Key key, this.callBack, this.iconData, this.textKey})
const LocalButton(
{Key key,
this.callBack,
this.iconData,
this.textKey,
this.color = primaryColor})
: super(key: key);
@override
@@ -20,7 +26,7 @@ class LocalButton extends StatelessWidget {
child: Container(
height: 45.0,
decoration: BoxDecoration(
color: primaryColor,
color: color,
shape: BoxShape.rectangle,
),
child: ButtonTheme(