updated new flutter version
This commit is contained in:
@@ -208,8 +208,10 @@ class DesktopNewTicketState extends State<DesktopNewTicket> {
|
||||
alignment: Alignment.centerRight,
|
||||
child: Container(
|
||||
padding: EdgeInsets.only(top: 20.0, left: 16.0, right: 16.0, bottom: 20.0),
|
||||
child: RaisedButton(
|
||||
color: Theme.of(context).primaryColor,
|
||||
child: ElevatedButton(
|
||||
style: ElevatedButton.styleFrom(
|
||||
primary: Theme.of(context).primaryColor,
|
||||
),
|
||||
child: Text(
|
||||
S.of(context).login,
|
||||
style: TextStyle(
|
||||
@@ -389,15 +391,17 @@ class DesktopNewTicketState extends State<DesktopNewTicket> {
|
||||
title: Text(S.of(context).warning),
|
||||
content: Text(S.of(context).are_you_sure_to_remove_the_picture),
|
||||
actions: [
|
||||
FlatButton(
|
||||
TextButton(
|
||||
child: Text(S.of(context).cancel),
|
||||
onPressed: () {
|
||||
Navigator.of(context).pop();
|
||||
},
|
||||
),
|
||||
RaisedButton(
|
||||
ElevatedButton(
|
||||
child: Text(S.of(context).yes_i_am_sure),
|
||||
color: Theme.of(context).primaryColor,
|
||||
style: ElevatedButton.styleFrom(
|
||||
primary: Theme.of(context).primaryColor,
|
||||
),
|
||||
onPressed: () {
|
||||
Navigator.of(context).pop();
|
||||
setState(() {
|
||||
@@ -439,7 +443,7 @@ class DesktopNewTicketState extends State<DesktopNewTicket> {
|
||||
title: Text(S.of(context).success),
|
||||
content: Text(S.of(context).ticket_created_success),
|
||||
actions: <Widget>[
|
||||
FlatButton(
|
||||
TextButton(
|
||||
child: Text(S.of(context).ok),
|
||||
onPressed: () {
|
||||
Routes.router.navigateTo(context, '/my-support/${widget.businessId}', replace: true);
|
||||
|
||||
Reference in New Issue
Block a user