chore: Update tab controller length in message widget
This commit is contained in:
parent
7026c0b08e
commit
7c721b6768
|
@ -19,6 +19,17 @@ import '/commons/widgets/flutter_flow_theme.dart';
|
|||
import '/commons/widgets/flutter_flow_util.dart';
|
||||
import '/commons/widgets/random_data_util.dart' as random_data;
|
||||
|
||||
|
||||
import 'package:url_launcher/url_launcher.dart';
|
||||
|
||||
Future<void> openTermsOfUse(BuildContext context) async {
|
||||
log('openTermsOfUse');
|
||||
final Uri url = Uri.parse('https://freaccess.com.br/pp/');
|
||||
if (!await launchUrl(url)) {
|
||||
throw Exception('Could not launch $url');
|
||||
}
|
||||
}
|
||||
|
||||
Future repeatVisitScheduleAction(
|
||||
BuildContext context, {
|
||||
List<dynamic>? visitorJsonList,
|
||||
|
@ -237,8 +248,8 @@ Future<bool> signUpRegisterAction(
|
|||
context: context,
|
||||
builder: (alertDialogContext) {
|
||||
return AlertDialog(
|
||||
title: const Text('ERROR2'),
|
||||
content: const Text('ERROR2'),
|
||||
title: const Text('Error'),
|
||||
content: Text('${registerCall?.jsonBody}'),
|
||||
actions: [
|
||||
TextButton(
|
||||
onPressed: () => Navigator.pop(alertDialogContext),
|
||||
|
@ -254,12 +265,21 @@ Future<bool> signUpRegisterAction(
|
|||
context: context,
|
||||
builder: (alertDialogContext) {
|
||||
return AlertDialog(
|
||||
title: const Text('ERROR1'),
|
||||
content: const Text('ERROR1'),
|
||||
title: Text(FFLocalizations.of(context).getVariableText(
|
||||
enText: 'Error',
|
||||
ptText: 'Erro',
|
||||
)),
|
||||
content: Text(FFLocalizations.of(context).getVariableText(
|
||||
enText: 'Please fill in all fields',
|
||||
ptText: 'Por favor, preencha todos os campos',
|
||||
)),
|
||||
actions: [
|
||||
TextButton(
|
||||
onPressed: () => Navigator.pop(alertDialogContext),
|
||||
child: const Text('ERROR1 '),
|
||||
child: Text(FFLocalizations.of(context).getVariableText(
|
||||
ptText: 'Fechar',
|
||||
enText: 'Close',
|
||||
)),
|
||||
),
|
||||
],
|
||||
);
|
||||
|
@ -314,6 +334,7 @@ Future toggleSignInPage(BuildContext context) async {
|
|||
}
|
||||
|
||||
Future toggleSignUpPage(BuildContext context) async {
|
||||
|
||||
context.pushNamed(
|
||||
'signUpPage',
|
||||
extra: <String, dynamic>{
|
||||
|
|
|
@ -187,10 +187,10 @@ class _CardItemTemplateComponentWidgetState
|
|||
return linkedHashMap.entries.map((MapEntry<String, Color> item) {
|
||||
return Container(
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
children: [
|
||||
Padding(
|
||||
padding: const EdgeInsets.symmetric(vertical: 3.0),
|
||||
padding: const EdgeInsets.symmetric(horizontal: 1.0, vertical: 3.0),
|
||||
child: Container(
|
||||
width: 100.0,
|
||||
height: 27.0,
|
||||
|
|
|
@ -50,6 +50,7 @@ abstract class FlutterFlowTheme {
|
|||
late Color secondary;
|
||||
late Color tertiary;
|
||||
late Color alternate;
|
||||
late Color alternate2;
|
||||
late Color primaryText;
|
||||
late Color secondaryText;
|
||||
late Color primaryBackground;
|
||||
|
@ -160,6 +161,7 @@ class LightModeTheme extends FlutterFlowTheme {
|
|||
late Color secondary = const Color(0xFFB59E9E);
|
||||
late Color tertiary = const Color(0xFF984BB6);
|
||||
late Color alternate = const Color(0xFFF2F2F2);
|
||||
late Color alternate2 = const Color(0xFF232323);
|
||||
late Color primaryText = const Color(0xFF000000);
|
||||
late Color secondaryText = const Color(0xFFFFFFFF);
|
||||
late Color primaryBackground = const Color(0xFFFFFFFF);
|
||||
|
@ -559,6 +561,7 @@ class DarkModeTheme extends FlutterFlowTheme {
|
|||
late Color secondary = const Color(0xFF18AA99);
|
||||
late Color tertiary = const Color(0xFF984BB6);
|
||||
late Color alternate = const Color(0xFF232323);
|
||||
late Color alternate2 = const Color(0xFF171717);
|
||||
late Color primaryText = const Color(0xFFFFFFFF);
|
||||
late Color secondaryText = const Color(0xFF000000);
|
||||
late Color primaryBackground = const Color(0xFF171717);
|
||||
|
|
|
@ -9,11 +9,16 @@ import 'package:flutter_web_plugins/url_strategy.dart';
|
|||
import 'commons/widgets/flutter_flow_theme.dart';
|
||||
import 'commons/widgets/flutter_flow_util.dart';
|
||||
import 'commons/widgets/internationalization.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
|
||||
final GlobalKey<NavigatorState> navigatorKey = GlobalKey<NavigatorState>();
|
||||
|
||||
void main() async {
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
SystemChrome.setPreferredOrientations([
|
||||
DeviceOrientation.portraitUp,
|
||||
DeviceOrientation.portraitDown,
|
||||
]);
|
||||
await initializeApp();
|
||||
runApp(ChangeNotifierProvider(
|
||||
create: (context) => FFAppState(),
|
||||
|
|
|
@ -25,6 +25,10 @@ class PassKeyTemplateComponentModel
|
|||
ptText: 'Este campo é obrigatório',
|
||||
);
|
||||
}
|
||||
if ( val.length < 4 ) return FFLocalizations.of(context).getVariableText(
|
||||
enText: 'This field must have at least 4 characters',
|
||||
ptText: 'Este campo deve ter pelo menos 4 caracteres',
|
||||
);
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
|
@ -158,7 +158,7 @@ class _PassKeyTemplateWidgetState
|
|||
),
|
||||
Form(
|
||||
key: _model.formKey,
|
||||
autovalidateMode: AutovalidateMode.always,
|
||||
autovalidateMode: AutovalidateMode.onUserInteraction,
|
||||
child: Column(
|
||||
children: [
|
||||
Padding(
|
||||
|
@ -189,7 +189,7 @@ class _PassKeyTemplateWidgetState
|
|||
.labelMedium
|
||||
.override(
|
||||
fontFamily: 'Plus Jakarta Sans',
|
||||
color: FlutterFlowTheme.of(context).primary,
|
||||
color: FlutterFlowTheme.of(context).primaryText,
|
||||
fontSize: 14.0,
|
||||
letterSpacing: 0.0,
|
||||
fontWeight: FontWeight.w500,
|
||||
|
@ -213,14 +213,14 @@ class _PassKeyTemplateWidgetState
|
|||
),
|
||||
enabledBorder: OutlineInputBorder(
|
||||
borderSide: BorderSide(
|
||||
color: FlutterFlowTheme.of(context).accent1,
|
||||
color: FlutterFlowTheme.of(context).primary,
|
||||
width: 2.0,
|
||||
),
|
||||
borderRadius: BorderRadius.circular(12.0),
|
||||
),
|
||||
focusedBorder: OutlineInputBorder(
|
||||
borderSide: BorderSide(
|
||||
color: FlutterFlowTheme.of(context).accent3,
|
||||
color: FlutterFlowTheme.of(context).primary,
|
||||
width: 2.0,
|
||||
),
|
||||
borderRadius: BorderRadius.circular(12.0),
|
||||
|
@ -282,6 +282,7 @@ class _PassKeyTemplateWidgetState
|
|||
.asValidator(context),
|
||||
inputFormatters: [
|
||||
FilteringTextInputFormatter.allow(RegExp('[0-9]')),
|
||||
LengthLimitingTextInputFormatter(4),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
|
@ -21,6 +21,10 @@ class QrCodePassKeyTemplateComponentModel
|
|||
ptText: 'Este campo é obrigatório',
|
||||
);
|
||||
}
|
||||
if (val.length < 4) return FFLocalizations.of(context).getVariableText(
|
||||
enText: 'This field must be at least 4 characters',
|
||||
ptText: 'Este campo deve ter pelo menos 4 caracteres',
|
||||
);
|
||||
|
||||
return null;
|
||||
}
|
||||
|
|
|
@ -156,7 +156,7 @@ class _QrCodePassKeyTemplateComponentWidgetState
|
|||
),
|
||||
Form(
|
||||
key: _model.formKey,
|
||||
autovalidateMode: AutovalidateMode.always,
|
||||
autovalidateMode: AutovalidateMode.onUserInteraction,
|
||||
child: Padding(
|
||||
padding: const EdgeInsetsDirectional.fromSTEB(16.0, 12.0, 16.0, 0.0),
|
||||
child: SizedBox(
|
||||
|
@ -181,7 +181,7 @@ class _QrCodePassKeyTemplateComponentWidgetState
|
|||
labelStyle:
|
||||
FlutterFlowTheme.of(context).labelMedium.override(
|
||||
fontFamily: 'Plus Jakarta Sans',
|
||||
color: FlutterFlowTheme.of(context).primary,
|
||||
color: FlutterFlowTheme.of(context).primaryText,
|
||||
fontSize: 14.0,
|
||||
letterSpacing: 0.0,
|
||||
fontWeight: FontWeight.w500,
|
||||
|
@ -203,14 +203,14 @@ class _QrCodePassKeyTemplateComponentWidgetState
|
|||
),
|
||||
enabledBorder: OutlineInputBorder(
|
||||
borderSide: BorderSide(
|
||||
color: FlutterFlowTheme.of(context).accent1,
|
||||
color: FlutterFlowTheme.of(context).primary,
|
||||
width: 2.0,
|
||||
),
|
||||
borderRadius: BorderRadius.circular(12.0),
|
||||
),
|
||||
focusedBorder: OutlineInputBorder(
|
||||
borderSide: BorderSide(
|
||||
color: FlutterFlowTheme.of(context).accent3,
|
||||
color: FlutterFlowTheme.of(context).primary,
|
||||
width: 2.0,
|
||||
),
|
||||
borderRadius: BorderRadius.circular(12.0),
|
||||
|
@ -269,7 +269,9 @@ class _QrCodePassKeyTemplateComponentWidgetState
|
|||
validator: _model.keyTextFieldTextControllerValidator
|
||||
.asValidator(context),
|
||||
inputFormatters: [
|
||||
FilteringTextInputFormatter.allow(RegExp('[0-9]'))
|
||||
FilteringTextInputFormatter.allow(RegExp('[0-9]')),
|
||||
LengthLimitingTextInputFormatter(4),
|
||||
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
|
@ -324,35 +324,35 @@ class _AcessHistoryPageWidgetState extends State<AcessHistoryPageWidget> {
|
|||
accessHistoryItem['PES_TIPO'] == 'O'
|
||||
? Map<String, Color>.from({
|
||||
FFLocalizations.of(context).getVariableText(
|
||||
ptText: 'Visitado',
|
||||
enText: 'Visited',
|
||||
): FlutterFlowTheme.of(context).alternate,
|
||||
ptText: 'Morador',
|
||||
enText: 'Resident',
|
||||
): FlutterFlowTheme.of(context).alternate2,
|
||||
})
|
||||
: accessHistoryItem['PES_TIPO'] == 'E'
|
||||
? Map<String, Color>.from({
|
||||
FFLocalizations.of(context).getVariableText(
|
||||
ptText: 'Visitante',
|
||||
enText: 'Visitor',
|
||||
): FlutterFlowTheme.of(context).alternate,
|
||||
): FlutterFlowTheme.of(context).alternate2,
|
||||
})
|
||||
: Map<String, Color>.from({
|
||||
FFLocalizations.of(context).getVariableText(
|
||||
ptText: 'Desconhecido',
|
||||
enText: 'Unknown',
|
||||
): FlutterFlowTheme.of(context).alternate,
|
||||
): FlutterFlowTheme.of(context).alternate2,
|
||||
}),
|
||||
accessHistoryItem['ACE_TIPO'] == '0'
|
||||
? Map<String, Color>.from({
|
||||
FFLocalizations.of(context).getVariableText(
|
||||
ptText: 'Entrada',
|
||||
enText: 'Entrada'
|
||||
enText: 'Entrance',
|
||||
): FlutterFlowTheme.of(context).success,
|
||||
})
|
||||
: accessHistoryItem['ACE_TIPO'] == '1'
|
||||
? Map<String, Color>.from({
|
||||
FFLocalizations.of(context).getVariableText(
|
||||
ptText: 'Saída',
|
||||
enText: 'Saída',
|
||||
enText: 'Exit',
|
||||
): FlutterFlowTheme.of(context).error,
|
||||
})
|
||||
: Map<String, Color>.from({
|
||||
|
|
|
@ -1,21 +1,13 @@
|
|||
// import 'dart:js_interop';
|
||||
|
||||
import 'dart:convert';
|
||||
import 'dart:developer';
|
||||
|
||||
import 'package:hub/commons/actions/api_calls.dart';
|
||||
import 'package:hub/commons/actions/actions.dart';
|
||||
import 'package:hub/commons/actions/api_manager.dart';
|
||||
import 'package:hub/commons/actions/pushNotificationService.dart';
|
||||
import 'package:hub/commons/components/molecules/card/widget.dart';
|
||||
import 'package:hub/modals/notifications/visit_request/widget.dart';
|
||||
import 'package:json_path/fun_extra.dart';
|
||||
|
||||
import '/commons/widgets/flutter_flow_icon_button.dart';
|
||||
import '/commons/widgets/flutter_flow_theme.dart';
|
||||
import '/commons/widgets/flutter_flow_util.dart';
|
||||
import '/commons/widgets/custom_functions.dart' as functions;
|
||||
import 'package:cached_network_image/cached_network_image.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_spinkit/flutter_spinkit.dart';
|
||||
import 'package:google_fonts/google_fonts.dart';
|
||||
|
@ -65,16 +57,11 @@ class _MessageHistoryPageWidgetState extends State<MessageHistoryPageWidget> wit
|
|||
@override
|
||||
Widget build(BuildContext context) {
|
||||
context.watch<FFAppState>();
|
||||
return GestureDetector(
|
||||
onTap: () => _model.unfocusNode.canRequestFocus
|
||||
? FocusScope.of(context).requestFocus(_model.unfocusNode)
|
||||
: FocusScope.of(context).unfocus(),
|
||||
child: Scaffold(
|
||||
return Scaffold(
|
||||
key: scaffoldKey,
|
||||
backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
|
||||
appBar: appBarMessage(context),
|
||||
body: bodyMessage(context, _model),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -258,7 +245,6 @@ Widget messageHistoryItem(
|
|||
children: [
|
||||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
mainAxisSize: MainAxisSize.max,
|
||||
children: [
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(left: 15.0),
|
||||
|
@ -268,13 +254,26 @@ Widget messageHistoryItem(
|
|||
fontWeight: FontWeight.bold,
|
||||
fontSize: 16,
|
||||
color: FlutterFlowTheme.of(context).primary,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
),
|
||||
),
|
||||
Padding(
|
||||
Icon(
|
||||
jsonBody['MSG_DESTINO_TP'] == 'T'
|
||||
? Icons.group
|
||||
: Icons.person,
|
||||
color: FlutterFlowTheme.of(context).accent1,
|
||||
)
|
||||
],
|
||||
),
|
||||
SizedBox(height: 8),
|
||||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.start,
|
||||
mainAxisSize: MainAxisSize.max,
|
||||
children: [
|
||||
Expanded(
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 15.0),
|
||||
child: Container(
|
||||
width: 100, // Adjust the width as needed
|
||||
child: Text(
|
||||
jsonBody['MSG_ORIGEM_DESC'].toString(),
|
||||
style: TextStyle(
|
||||
|
@ -282,16 +281,14 @@ Widget messageHistoryItem(
|
|||
fontSize: 16,
|
||||
color: FlutterFlowTheme.of(context).primary,
|
||||
),
|
||||
overflow: TextOverflow.ellipsis,
|
||||
overflow: TextOverflow.fade,
|
||||
),
|
||||
),
|
||||
),
|
||||
Icon(jsonBody['MSG_DESTINO_TP'] == 'T'
|
||||
? Icons.group
|
||||
: Icons.person, color: FlutterFlowTheme.of(context).accent1,),
|
||||
],
|
||||
),
|
||||
Text(jsonBody['MSG_TEXTO'].toString()),
|
||||
SizedBox(height: 8),
|
||||
Text(jsonBody['MSG_TEXTO'].toString(),),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
|
@ -43,11 +43,7 @@ class _PeopleOnThePropertyPageWidgetState
|
|||
Widget build(BuildContext context) {
|
||||
context.watch<FFAppState>();
|
||||
|
||||
return GestureDetector(
|
||||
onTap: () => _model.unfocusNode.canRequestFocus
|
||||
? FocusScope.of(context).requestFocus(_model.unfocusNode)
|
||||
: FocusScope.of(context).unfocus(),
|
||||
child: Scaffold(
|
||||
return Scaffold(
|
||||
key: scaffoldKey,
|
||||
backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
|
||||
appBar: AppBar(
|
||||
|
@ -109,22 +105,14 @@ class _PeopleOnThePropertyPageWidgetState
|
|||
);
|
||||
}
|
||||
final columnGetPessoasLocalResponse = snapshot.data!;
|
||||
return Builder(
|
||||
builder: (context) {
|
||||
final getPoepleProperty = PhpGroup.getPessoasLocalCall
|
||||
.pessoas(
|
||||
columnGetPessoasLocalResponse.jsonBody,
|
||||
)
|
||||
?.toList() ??
|
||||
final getPoepleProperty = PhpGroup.getPessoasLocalCall.pessoas(columnGetPessoasLocalResponse.jsonBody,)?.toList() ??
|
||||
[];
|
||||
|
||||
return Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
mainAxisAlignment: MainAxisAlignment.start,
|
||||
children: List.generate(getPoepleProperty.length,
|
||||
(getPoeplePropertyIndex) {
|
||||
final getPoeplePropertyItem =
|
||||
getPoepleProperty[getPoeplePropertyIndex];
|
||||
return ListView.builder(
|
||||
physics: const AlwaysScrollableScrollPhysics(),
|
||||
shrinkWrap: true,
|
||||
itemCount: getPoepleProperty.length,
|
||||
itemBuilder: (context, index) {
|
||||
final getPoeplePropertyItem = getPoepleProperty[index];
|
||||
return Row(
|
||||
mainAxisSize: MainAxisSize.max,
|
||||
mainAxisAlignment: MainAxisAlignment.start,
|
||||
|
@ -141,7 +129,8 @@ class _PeopleOnThePropertyPageWidgetState
|
|||
child: CachedNetworkImage(
|
||||
fadeInDuration: const Duration(milliseconds: 500),
|
||||
fadeOutDuration: const Duration(milliseconds: 500),
|
||||
imageUrl: 'https://storage.googleapis.com/flutterflow-io-6f20.appspot.com/projects/flutter-freaccess-hub-0xgz9q/assets/7ftdetkzc3s0/360_F_64676383_LdbmhiNM6Ypzb3FM4PPuFP9rHe7ri8Ju.jpg',
|
||||
imageUrl:
|
||||
'https://storage.googleapis.com/flutterflow-io-6f20.appspot.com/projects/flutter-freaccess-hub-0xgz9q/assets/7ftdetkzc3s0/360_F_64676383_LdbmhiNM6Ypzb3FM4PPuFP9rHe7ri8Ju.jpg',
|
||||
fit: BoxFit.cover,
|
||||
),
|
||||
),
|
||||
|
@ -151,30 +140,23 @@ class _PeopleOnThePropertyPageWidgetState
|
|||
getPoeplePropertyItem,
|
||||
r'''$.USU_NOME''',
|
||||
).toString(),
|
||||
style: FlutterFlowTheme.of(context)
|
||||
.bodyMedium
|
||||
.override(
|
||||
fontFamily: FlutterFlowTheme.of(context)
|
||||
.bodyMediumFamily,
|
||||
style: FlutterFlowTheme.of(context).bodyMedium.override(
|
||||
fontFamily: FlutterFlowTheme.of(context).bodyMediumFamily,
|
||||
fontSize: 14.0,
|
||||
letterSpacing: 0.0,
|
||||
useGoogleFonts: GoogleFonts.asMap()
|
||||
.containsKey(FlutterFlowTheme.of(context)
|
||||
.bodyMediumFamily),
|
||||
useGoogleFonts: GoogleFonts.asMap().containsKey(
|
||||
FlutterFlowTheme.of(context).bodyMediumFamily),
|
||||
),
|
||||
),
|
||||
]
|
||||
.divide(const SizedBox(width: 20.0))
|
||||
.addToStart(const SizedBox(width: 40.0)),
|
||||
);
|
||||
}).divide(const SizedBox(height: 3.0)),
|
||||
);
|
||||
},
|
||||
);
|
||||
},
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -102,16 +102,11 @@ void dispose() {
|
|||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return GestureDetector(
|
||||
onTap: () => _model.unfocusNode.canRequestFocus
|
||||
? FocusScope.of(context).requestFocus(_model.unfocusNode)
|
||||
: FocusScope.of(context).unfocus(),
|
||||
child: Scaffold(
|
||||
return Scaffold(
|
||||
key: scaffoldKey,
|
||||
backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
|
||||
appBar: buildAppBar(context),
|
||||
body: buildBody(context),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -120,10 +115,9 @@ void dispose() {
|
|||
double screenHeight = MediaQuery.of(context).size.height;
|
||||
double smallerDimension = screenWidth < screenHeight ? screenWidth : screenHeight;
|
||||
double dimension = smallerDimension * 0.75;
|
||||
|
||||
double totalTimeInSeconds = 100.0;
|
||||
return SafeArea(
|
||||
top: true,
|
||||
// top: true,
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.max,
|
||||
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
||||
|
|
|
@ -262,7 +262,7 @@ class _SignInTemplateComponentWidgetState
|
|||
Form(
|
||||
key: _model.formKey,
|
||||
autovalidateMode:
|
||||
AutovalidateMode.always,
|
||||
AutovalidateMode.onUserInteraction,
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.max,
|
||||
children: [
|
||||
|
@ -1007,9 +1007,14 @@ class _SignInTemplateComponentWidgetState
|
|||
),
|
||||
),
|
||||
),
|
||||
Text(
|
||||
FFLocalizations.of(context).getText(
|
||||
'olf967cj' /* Termo de Uso */,
|
||||
GestureDetector(
|
||||
onTap: () async {
|
||||
await action_blocks.openTermsOfUse(context);
|
||||
},
|
||||
child: Text(
|
||||
FFLocalizations.of(context).getVariableText(
|
||||
ptText: 'Termos de uso',
|
||||
enText: 'Terms of use',
|
||||
),
|
||||
style: FlutterFlowTheme.of(context)
|
||||
.bodyMedium
|
||||
|
@ -1030,6 +1035,7 @@ class _SignInTemplateComponentWidgetState
|
|||
.bodyMediumFamily),
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
|
@ -298,7 +298,7 @@ class _SignUpTemplateComponentWidgetState
|
|||
Form(
|
||||
key: _model.formKey,
|
||||
autovalidateMode:
|
||||
AutovalidateMode.disabled,
|
||||
AutovalidateMode.onUserInteraction,
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.max,
|
||||
children: [
|
||||
|
@ -843,8 +843,9 @@ class _SignUpTemplateComponentWidgetState
|
|||
TextSpan(
|
||||
text: FFLocalizations.of(
|
||||
context)
|
||||
.getText(
|
||||
'a9smhn5b' /* Você já tem uma conta? */,
|
||||
.getVariableText(
|
||||
ptText: 'Você já tem uma conta? ',
|
||||
enText: 'Already have an account? ',
|
||||
),
|
||||
style: TextStyle(
|
||||
color: FlutterFlowTheme.of(
|
||||
|
@ -909,20 +910,26 @@ class _SignUpTemplateComponentWidgetState
|
|||
),
|
||||
],
|
||||
),
|
||||
Text(
|
||||
FFLocalizations.of(context).getText(
|
||||
'huygnka2' /* Termo de Uso */,
|
||||
GestureDetector(
|
||||
onTap: () async {
|
||||
await action_blocks.openTermsOfUse(context);
|
||||
},
|
||||
child: Text(
|
||||
FFLocalizations.of(context).getVariableText(
|
||||
ptText: 'Termos de uso',
|
||||
enText: 'Terms of use',
|
||||
),
|
||||
style: FlutterFlowTheme.of(context).bodyMedium.override(
|
||||
fontFamily:
|
||||
FlutterFlowTheme.of(context).bodyMediumFamily,
|
||||
color: FlutterFlowTheme.of(context).secondaryText,
|
||||
color: FlutterFlowTheme.of(context).primaryText,
|
||||
fontSize: 14.0,
|
||||
letterSpacing: 0.0,
|
||||
useGoogleFonts: GoogleFonts.asMap().containsKey(
|
||||
FlutterFlowTheme.of(context).bodyMediumFamily),
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue