File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -260,7 +260,7 @@ class CompleteFormState extends State<CompleteForm> {
260
260
children: < Widget > [
261
261
Expanded (
262
262
child: MaterialButton (
263
- color: Theme .of (context).accentColor ,
263
+ color: Theme .of (context).colorScheme.secondary ,
264
264
onPressed: () {
265
265
if (_formKey.currentState? .saveAndValidate () ?? false ) {
266
266
print (_formKey.currentState? .value);
@@ -281,10 +281,10 @@ class CompleteFormState extends State<CompleteForm> {
281
281
onPressed: () {
282
282
_formKey.currentState? .reset ();
283
283
},
284
- // color: Theme.of(context).accentColor ,
284
+ // color: Theme.of(context).colorScheme.secondary ,
285
285
child: Text (
286
286
'Reset' ,
287
- style: TextStyle (color: Theme .of (context).accentColor ),
287
+ style: TextStyle (color: Theme .of (context).colorScheme.secondary ),
288
288
),
289
289
),
290
290
),
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ class _SignupFormState extends State<SignupForm> {
103
103
),
104
104
const SizedBox (height: 10 ),
105
105
MaterialButton (
106
- color: Theme .of (context).accentColor ,
106
+ color: Theme .of (context).colorScheme.secondary ,
107
107
onPressed: () {
108
108
if (_formKey.currentState? .saveAndValidate () ?? false ) {
109
109
print ('Valid' );
You can’t perform that action at this time.
0 commit comments