flutter-freaccess-hub/lib/pages/home_page/home_page_model.dart

28 lines
730 B
Dart

import '/flutter_flow/flutter_flow_util.dart';
import 'home_page_widget.dart' show HomePageWidget;
import 'package:flutter/material.dart';
class HomePageModel extends FlutterFlowModel<HomePageWidget> {
/// Local state fields for this page.
bool isGrid = false;
/// State fields for stateful widgets in this page.
final unfocusNode = FocusNode();
// State field(s) for TextField widget.
FocusNode? textFieldFocusNode;
TextEditingController? textController;
String? Function(BuildContext, String?)? textControllerValidator;
@override
void initState(BuildContext context) {}
@override
void dispose() {
unfocusNode.dispose();
textFieldFocusNode?.dispose();
textController?.dispose();
}
}