72 lines
2.0 KiB
Dart
72 lines
2.0 KiB
Dart
import '/flutter_flow/flutter_flow_theme.dart';
|
|
import '/flutter_flow/flutter_flow_util.dart';
|
|
import 'package:flutter/material.dart';
|
|
import 'package:google_fonts/google_fonts.dart';
|
|
import 'settings_page_model.dart';
|
|
export 'settings_page_model.dart';
|
|
|
|
class SettingsPageWidget extends StatefulWidget {
|
|
const SettingsPageWidget({super.key});
|
|
|
|
@override
|
|
State<SettingsPageWidget> createState() => _SettingsPageWidgetState();
|
|
}
|
|
|
|
class _SettingsPageWidgetState extends State<SettingsPageWidget> {
|
|
late SettingsPageModel _model;
|
|
|
|
final scaffoldKey = GlobalKey<ScaffoldState>();
|
|
|
|
@override
|
|
void initState() {
|
|
super.initState();
|
|
_model = createModel(context, () => SettingsPageModel());
|
|
}
|
|
|
|
@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,
|
|
appBar: AppBar(
|
|
backgroundColor: FlutterFlowTheme.of(context).primary,
|
|
automaticallyImplyLeading: false,
|
|
title: Text(
|
|
FFLocalizations.of(context).getText(
|
|
'bc698859' /* Preferencias */,
|
|
),
|
|
style: FlutterFlowTheme.of(context).headlineMedium.override(
|
|
fontFamily: 'Nunito',
|
|
color: FlutterFlowTheme.of(context).primaryText,
|
|
fontSize: 17.0,
|
|
letterSpacing: 0.0,
|
|
useGoogleFonts: GoogleFonts.asMap().containsKey('Nunito'),
|
|
),
|
|
),
|
|
actions: const [],
|
|
centerTitle: true,
|
|
elevation: 0.0,
|
|
),
|
|
body: const SafeArea(
|
|
top: true,
|
|
child: Column(
|
|
mainAxisSize: MainAxisSize.max,
|
|
children: [],
|
|
),
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|