1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00

Consolidated Flutter 3.3 update (#1401)

This commit is contained in:
Brett Morgan
2022-08-31 10:06:34 +10:00
committed by GitHub
parent 1281d43368
commit 83f7059d83
81 changed files with 327 additions and 314 deletions

View File

@@ -27,10 +27,7 @@ class _FormValidationDemoState extends State<FormValidationDemo> {
Padding(
padding: const EdgeInsets.all(8),
child: TextButton(
style: TextButton.styleFrom(
// ignore: deprecated_member_use
primary: Colors.white,
),
style: TextButton.styleFrom(foregroundColor: Colors.white),
child: const Text('Submit'),
onPressed: () {
// Validate the form by getting the FormState from the GlobalKey