File tree Expand file tree Collapse file tree 1 file changed +0
-36
lines changed
Expand file tree Collapse file tree 1 file changed +0
-36
lines changed Original file line number Diff line number Diff line change 11import 'package:flutter/material.dart' ;
2- import 'package:my_coin2/QuizPages/quiz01.dart' ;
32import 'package:my_coin2/pages/homePage.dart' ;
43
54class Resultado extends StatefulWidget {
@@ -61,41 +60,6 @@ class _ResultadoState extends State<Resultado> {
6160 ),
6261 ),
6362 const SizedBox (height: 20.0 ),
64- Padding (
65- padding: const EdgeInsets .only (top: 15 , bottom: 20 ),
66- child: SizedBox (
67- height: 65 ,
68- width: 330 ,
69- child: ElevatedButton (
70- onPressed: () {
71- Navigator .push (
72- context,
73- MaterialPageRoute (
74- builder: (context) => const Quiz01 ()));
75- },
76- style: ButtonStyle (
77- backgroundColor:
78- WidgetStateProperty .all <Color >(Colors .white),
79- foregroundColor:
80- WidgetStateProperty .all <Color >(Colors .red),
81- shape: WidgetStateProperty .all <RoundedRectangleBorder >(
82- RoundedRectangleBorder (
83- borderRadius: BorderRadius .circular (18.0 ),
84- side: const BorderSide (color: Colors .red, width: 2.0 ),
85- ),
86- ),
87- ),
88- child: const Text (
89- "Jogar Novamente!" ,
90- textAlign: TextAlign .center,
91- style: TextStyle (
92- fontSize: 20 ,
93- color: Colors .red,
94- ),
95- ),
96- ),
97- ),
98- ),
9963 Padding (
10064 padding: const EdgeInsets .only (top: 0 , bottom: 20 ),
10165 child: SizedBox (
You can’t perform that action at this time.
0 commit comments