add disable customer function
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user