prosapp_web_app has chat, dashboard, calendar, support, 13 providers and Fluro URL routing. Keep Dockerfile + nginx.conf from previous prosappweb. Upgrade google_fonts 6.2.1 → 8.1.0 (Dart 3.12 compat fix). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
19 lines
366 B
Dart
19 lines
366 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class EmailFormProvider extends ChangeNotifier {
|
|
GlobalKey<FormState> formKey = GlobalKey<FormState>();
|
|
|
|
String email = '';
|
|
String password = '';
|
|
|
|
bool validateForm() {
|
|
if (formKey.currentState!.validate()) {
|
|
return true;
|
|
} else {
|
|
print('Formulario no válido');
|
|
|
|
return false;
|
|
}
|
|
}
|
|
}
|