45 lines
1.1 KiB
Dart
45 lines
1.1 KiB
Dart
import '/flutter_flow/flutter_flow_theme.dart';
|
|
import '/flutter_flow/flutter_flow_util.dart';
|
|
import 'package:flutter/material.dart';
|
|
import 'fast_pass_page_model.dart';
|
|
export 'fast_pass_page_model.dart';
|
|
|
|
class FastPassPageWidget extends StatefulWidget {
|
|
const FastPassPageWidget({super.key});
|
|
|
|
@override
|
|
State<FastPassPageWidget> createState() => _FastPassPageWidgetState();
|
|
}
|
|
|
|
class _FastPassPageWidgetState extends State<FastPassPageWidget> {
|
|
late FastPassPageModel _model;
|
|
|
|
final scaffoldKey = GlobalKey<ScaffoldState>();
|
|
|
|
@override
|
|
void initState() {
|
|
super.initState();
|
|
_model = createModel(context, () => FastPassPageModel());
|
|
}
|
|
|
|
@override
|
|
void dispose() {
|
|
_model.dispose();
|
|
|
|
super.dispose();
|
|
}
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return GestureDetector(
|
|
onTap: () => _model.unfocusNode.canRequestFocus
|
|
? FocusScope.of(context).requestFocus(_model.unfocusNode)
|
|
: FocusScope.of(context).unfocus(),
|
|
child: Scaffold(
|
|
key: scaffoldKey,
|
|
backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
|
|
),
|
|
);
|
|
}
|
|
}
|