Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Apus Drones
apus-drones-frontend
Commits
acf54889
Commit
acf54889
authored
3 years ago
by
Andre Luiz Rodrigues
Committed by
Aléxia Dorneles
3 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Mudança do botão para "acompanhar pedido" conforme modelo Figma
parent
bcfd5672
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/screens/CartScreen.dart
+5
-12
lib/screens/CartScreen.dart
with
5 additions
and
12 deletions
+5
-12
lib/screens/CartScreen.dart
View file @
acf54889
...
...
@@ -180,18 +180,12 @@ class _CartPageState extends State<CartScreen> {
}
checkOutAlertDialog
(
BuildContext
context
)
{
Widget
cancelButton
=
ElevatedButton
(
style:
ElevatedButton
.
styleFrom
(
primary:
Colors
.
grey
.
shade100
,
onPrimary:
Colors
.
black
),
child:
Text
(
"Cancelar"
),
onPressed:
()
=>
Navigator
.
pop
(
context
,
false
),
);
Widget
buyButton
=
ElevatedButton
(
Widget
accompanyOrderButton
=
ElevatedButton
(
style:
ElevatedButton
.
styleFrom
(
primary:
Colors
.
red
),
child:
Text
(
"
C
omp
rar
"
),
child:
Text
(
"
Ac
omp
anhar Pedido
"
),
onPressed:
()
{
Navigator
.
pop
(
context
,
false
);
//Ir para a tela de acompanhar pedido
Navigator
.
pop
(
context
);
},
);
...
...
@@ -200,8 +194,7 @@ class _CartPageState extends State<CartScreen> {
content:
Text
(
"Obrigado por escolher a Apus Drones. Logo logo seu pedido chegará até você, mas até lá, o próximo passo é você acompanhar o status do seu pedido."
),
actions:
[
cancelButton
,
buyButton
,
accompanyOrderButton
,
],
);
// show the dialog
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help