diff --git a/assets/images/dark/register.svg b/assets/images/dark/register.svg
new file mode 100644
index 00000000..5e7071f7
--- /dev/null
+++ b/assets/images/dark/register.svg
@@ -0,0 +1,29 @@
+
diff --git a/assets/images/light/register.svg b/assets/images/light/register.svg
new file mode 100644
index 00000000..2fecef14
--- /dev/null
+++ b/assets/images/light/register.svg
@@ -0,0 +1,35 @@
+
diff --git a/lib/components/templates_components/sign_up_template_component/sign_up_template_component_widget.dart b/lib/components/templates_components/sign_up_template_component/sign_up_template_component_widget.dart
index 0d5327b0..c009341f 100644
--- a/lib/components/templates_components/sign_up_template_component/sign_up_template_component_widget.dart
+++ b/lib/components/templates_components/sign_up_template_component/sign_up_template_component_widget.dart
@@ -1,3 +1,5 @@
+import 'package:hub/components/atomic_components/shared_components_atoms/atom_image_svg_theme.dart';
+
import '/flutter_flow/flutter_flow_animations.dart';
import '/flutter_flow/flutter_flow_theme.dart';
import '/flutter_flow/flutter_flow_util.dart';
@@ -17,7 +19,6 @@ class SignUpTemplateComponentWidget extends StatefulWidget {
super.key,
required this.toggleSignInPage,
});
-
final Future Function()? toggleSignInPage;
@override
@@ -98,6 +99,8 @@ class _SignUpTemplateComponentWidgetState
@override
Widget build(BuildContext context) {
+ double screenWidth = MediaQuery.of(context).size.width;
+ double screenHeight = MediaQuery.of(context).size.height;
context.watch();
return Row(
@@ -135,7 +138,8 @@ class _SignUpTemplateComponentWidgetState
children: [
Expanded(
child: Align(
- alignment: const AlignmentDirectional(0.0, -1.0),
+ alignment:
+ const AlignmentDirectional(0.0, -1.0),
child: Padding(
padding: const EdgeInsets.all(4.0),
child: Text(
@@ -149,7 +153,7 @@ class _SignUpTemplateComponentWidgetState
fontFamily: 'Plus Jakarta Sans',
color: FlutterFlowTheme.of(context)
.primaryText,
- fontSize: 24.0,
+ fontSize: screenWidth * 0.06,
letterSpacing: 0.0,
fontWeight: FontWeight.w500,
useGoogleFonts: GoogleFonts.asMap()
@@ -171,11 +175,10 @@ class _SignUpTemplateComponentWidgetState
decoration: const BoxDecoration(),
child: ClipRRect(
borderRadius: BorderRadius.circular(8.0),
- child: SvgPicture.network(
- 'https://storage.googleapis.com/flutterflow-io-6f20.appspot.com/projects/flutter-freaccess-hub-0xgz9q/assets/ug2zlyhca2sh/Frame_5.svg',
- width: 603.0,
- height: 155.0,
- fit: BoxFit.contain,
+ child: const AtomImageSvgTheme(
+ filename: 'register',
+ width: 600,
+ height: 155,
),
),
),
@@ -208,13 +211,14 @@ class _SignUpTemplateComponentWidgetState
Form(
key: _model.formKey,
autovalidateMode:
- AutovalidateMode.disabled,
+ AutovalidateMode.onUserInteraction,
child: Column(
mainAxisSize: MainAxisSize.max,
children: [
Padding(
- padding: const EdgeInsetsDirectional
- .fromSTEB(
+ padding:
+ const EdgeInsetsDirectional
+ .fromSTEB(
0.0, 0.0, 0.0, 16.0),
child: SizedBox(
width: double.infinity,
@@ -356,8 +360,9 @@ class _SignUpTemplateComponentWidgetState
),
),
Padding(
- padding: const EdgeInsetsDirectional
- .fromSTEB(
+ padding:
+ const EdgeInsetsDirectional
+ .fromSTEB(
0.0, 0.0, 0.0, 16.0),
child: SizedBox(
width: double.infinity,
@@ -499,8 +504,9 @@ class _SignUpTemplateComponentWidgetState
),
),
Padding(
- padding: const EdgeInsetsDirectional
- .fromSTEB(
+ padding:
+ const EdgeInsetsDirectional
+ .fromSTEB(
0.0, 0.0, 0.0, 16.0),
child: SizedBox(
width: double.infinity,
@@ -564,7 +570,8 @@ class _SignUpTemplateComponentWidgetState
),
focusedBorder:
OutlineInputBorder(
- borderSide: const BorderSide(
+ borderSide:
+ const BorderSide(
color:
Color(0xFF1AAB5F),
width: 0.25,
@@ -575,7 +582,8 @@ class _SignUpTemplateComponentWidgetState
),
errorBorder:
OutlineInputBorder(
- borderSide: const BorderSide(
+ borderSide:
+ const BorderSide(
color:
Color(0xFFFF5963),
width: 0.25,
@@ -586,7 +594,8 @@ class _SignUpTemplateComponentWidgetState
),
focusedErrorBorder:
OutlineInputBorder(
- borderSide: const BorderSide(
+ borderSide:
+ const BorderSide(
color:
Color(0xFFFF5963),
width: 0.25,
@@ -652,25 +661,25 @@ class _SignUpTemplateComponentWidgetState
),
),
Padding(
- padding: const EdgeInsetsDirectional.fromSTEB(
- 0.0, 0.0, 0.0, 16.0),
+ padding: const EdgeInsetsDirectional
+ .fromSTEB(0.0, 0.0, 0.0, 16.0),
child: FFButtonWidget(
- onPressed: (((_model.nameRegisterFormTextController
- .text !=
- '') ||
+ onPressed: (((_model
+ .nameRegisterFormTextController.text !=
+ '') ||
((_model.nameRegisterFormFocusNode?.hasFocus ??
false) !=
null)) &&
((_model.emailRegisterFormTextController
- .text !=
- '') ||
+ .text !=
+ '') ||
((_model.emailRegisterFormFocusNode
?.hasFocus ??
false) !=
null)) &&
((_model.passwordRegisterFormTextController
- .text !=
- '') ||
+ .text !=
+ '') ||
((_model.passwordRegisterFormFocusNode
?.hasFocus ??
false) !=
@@ -716,11 +725,11 @@ class _SignUpTemplateComponentWidgetState
options: FFButtonOptions(
width: double.infinity,
height: 44.0,
- padding:
- const EdgeInsetsDirectional.fromSTEB(
- 0.0, 0.0, 0.0, 0.0),
+ padding: const EdgeInsetsDirectional
+ .fromSTEB(0.0, 0.0, 0.0, 0.0),
iconPadding:
- const EdgeInsetsDirectional.fromSTEB(
+ const EdgeInsetsDirectional
+ .fromSTEB(
0.0, 0.0, 0.0, 0.0),
color: FlutterFlowTheme.of(context)
.accent1,
@@ -755,8 +764,8 @@ class _SignUpTemplateComponentWidgetState
// You will have to add an action on this rich text to go to your login page.
Padding(
- padding: const EdgeInsetsDirectional.fromSTEB(
- 0.0, 12.0, 0.0, 12.0),
+ padding: const EdgeInsetsDirectional
+ .fromSTEB(0.0, 12.0, 0.0, 12.0),
child: InkWell(
splashColor: Colors.transparent,
focusColor: Colors.transparent,
diff --git a/lib/flutter_flow/internationalization.dart b/lib/flutter_flow/internationalization.dart
index 9123791e..3540b759 100644
--- a/lib/flutter_flow/internationalization.dart
+++ b/lib/flutter_flow/internationalization.dart
@@ -1286,4 +1286,4 @@ final kTranslationsMap =