diff --git a/mobile/app/lib/components/ConversationBubblesModel.dart b/mobile/app/lib/components/conversation_bubbles/conversation_bubbles_model.dart similarity index 100% rename from mobile/app/lib/components/ConversationBubblesModel.dart rename to mobile/app/lib/components/conversation_bubbles/conversation_bubbles_model.dart diff --git a/mobile/app/lib/components/ConversationBubblesWidget.dart b/mobile/app/lib/components/conversation_bubbles/conversation_bubbles_widget.dart similarity index 100% rename from mobile/app/lib/components/ConversationBubblesWidget.dart rename to mobile/app/lib/components/conversation_bubbles/conversation_bubbles_widget.dart diff --git a/mobile/app/lib/components/ConversationDetailsOverlayModel.dart b/mobile/app/lib/components/conversation_details_overlay/conversation_details_overlay_model.dart similarity index 89% rename from mobile/app/lib/components/ConversationDetailsOverlayModel.dart rename to mobile/app/lib/components/conversation_details_overlay/conversation_details_overlay_model.dart index 8767242..ee7aede 100644 --- a/mobile/app/lib/components/ConversationDetailsOverlayModel.dart +++ b/mobile/app/lib/components/conversation_details_overlay/conversation_details_overlay_model.dart @@ -3,10 +3,8 @@ import '/flutter_flow/flutter_flow_icon_button.dart'; import '/flutter_flow/flutter_flow_theme.dart'; import '/flutter_flow/flutter_flow_util.dart'; import '/flutter_flow/flutter_flow_widgets.dart'; -import 'dart:ui'; -import 'conversation_details_overlay_widget.dart' +import '../conversation_details_overlay_widget.dart' show ConversationDetailsOverlayWidget; -import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; import 'package:google_fonts/google_fonts.dart'; import 'package:provider/provider.dart'; diff --git a/mobile/app/lib/components/ConversationDetailsOverlayWidget.dart b/mobile/app/lib/components/conversation_details_overlay/conversation_details_overlay_widget.dart similarity index 88% rename from mobile/app/lib/components/ConversationDetailsOverlayWidget.dart rename to mobile/app/lib/components/conversation_details_overlay/conversation_details_overlay_widget.dart index 0386225..da46e5c 100644 --- a/mobile/app/lib/components/ConversationDetailsOverlayWidget.dart +++ b/mobile/app/lib/components/conversation_details_overlay/conversation_details_overlay_widget.dart @@ -4,7 +4,6 @@ import '/flutter_flow/flutter_flow_theme.dart'; import '/flutter_flow/flutter_flow_util.dart'; import '/flutter_flow/flutter_flow_widgets.dart'; import 'dart:ui'; -import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; import 'package:google_fonts/google_fonts.dart'; import 'package:provider/provider.dart'; @@ -55,20 +54,20 @@ class _ConversationDetailsOverlayWidgetState child: Container( width: double.infinity, height: double.infinity, - decoration: BoxDecoration(), + decoration: const BoxDecoration(), child: Align( - alignment: AlignmentDirectional(0, -1), + alignment: const AlignmentDirectional(0, -1), child: Container( width: double.infinity, height: double.infinity, - constraints: BoxConstraints( + constraints: const BoxConstraints( maxWidth: 700, ), decoration: BoxDecoration( borderRadius: BorderRadius.circular(0), ), child: Padding( - padding: EdgeInsetsDirectional.fromSTEB(0, 70, 0, 0), + padding: const EdgeInsetsDirectional.fromSTEB(0, 70, 0, 0), child: Column( mainAxisSize: MainAxisSize.max, crossAxisAlignment: CrossAxisAlignment.start, @@ -78,7 +77,7 @@ class _ConversationDetailsOverlayWidgetState mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ Padding( - padding: EdgeInsetsDirectional.fromSTEB(16, 0, 0, 0), + padding: const EdgeInsetsDirectional.fromSTEB(16, 0, 0, 0), child: Text( 'Chat Details', style: FlutterFlowTheme.of(context) @@ -90,7 +89,7 @@ class _ConversationDetailsOverlayWidgetState ), ), Padding( - padding: EdgeInsetsDirectional.fromSTEB(0, 0, 16, 0), + padding: const EdgeInsetsDirectional.fromSTEB(0, 0, 16, 0), child: FlutterFlowIconButton( borderColor: FlutterFlowTheme.of(context).alternate, borderRadius: 12, @@ -110,12 +109,12 @@ class _ConversationDetailsOverlayWidgetState ], ), Padding( - padding: EdgeInsetsDirectional.fromSTEB(16, 4, 0, 4), + padding: const EdgeInsetsDirectional.fromSTEB(16, 4, 0, 4), child: RichText( textScaler: MediaQuery.of(context).textScaler, text: TextSpan( children: [ - TextSpan( + const TextSpan( text: 'Group Chat ID: ', style: TextStyle(), ), @@ -137,7 +136,7 @@ class _ConversationDetailsOverlayWidgetState ), Expanded( child: Align( - alignment: AlignmentDirectional(0, 0), + alignment: const AlignmentDirectional(0, 0), child: Column( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.start, @@ -151,9 +150,9 @@ class _ConversationDetailsOverlayWidgetState ), ), Align( - alignment: AlignmentDirectional(0, -1), + alignment: const AlignmentDirectional(0, -1), child: Padding( - padding: EdgeInsetsDirectional.fromSTEB(16, 0, 16, 0), + padding: const EdgeInsetsDirectional.fromSTEB(16, 0, 16, 0), child: ClipRRect( borderRadius: BorderRadius.circular(12), child: Container( @@ -176,7 +175,7 @@ class _ConversationDetailsOverlayWidgetState ), ), Padding( - padding: EdgeInsetsDirectional.fromSTEB(16, 16, 16, 44), + padding: const EdgeInsetsDirectional.fromSTEB(16, 16, 16, 44), child: FFButtonWidget( onPressed: () async { Navigator.pop(context); @@ -185,9 +184,9 @@ class _ConversationDetailsOverlayWidgetState options: FFButtonOptions( width: double.infinity, height: 52, - padding: EdgeInsetsDirectional.fromSTEB(44, 0, 44, 0), + padding: const EdgeInsetsDirectional.fromSTEB(44, 0, 44, 0), iconPadding: - EdgeInsetsDirectional.fromSTEB(0, 0, 0, 0), + const EdgeInsetsDirectional.fromSTEB(0, 0, 0, 0), color: FlutterFlowTheme.of(context).secondaryBackground, textStyle: diff --git a/mobile/app/lib/components/ConversationOptionsModel.dart b/mobile/app/lib/components/conversation_options/conversation_options_model.dart similarity index 100% rename from mobile/app/lib/components/ConversationOptionsModel.dart rename to mobile/app/lib/components/conversation_options/conversation_options_model.dart diff --git a/mobile/app/lib/components/ConversationOptionsWidget.dart b/mobile/app/lib/components/conversation_options/conversation_options_widget.dart similarity index 88% rename from mobile/app/lib/components/ConversationOptionsWidget.dart rename to mobile/app/lib/components/conversation_options/conversation_options_widget.dart index 8390957..96306aa 100644 --- a/mobile/app/lib/components/ConversationOptionsWidget.dart +++ b/mobile/app/lib/components/conversation_options/conversation_options_widget.dart @@ -45,7 +45,7 @@ class _ConversationOptionsWidgetState extends State { color: FlutterFlowTheme.of(context).secondaryBackground, ), child: Padding( - padding: EdgeInsetsDirectional.fromSTEB(0, 12, 0, 24), + padding: const EdgeInsetsDirectional.fromSTEB(0, 12, 0, 24), child: Column( mainAxisSize: MainAxisSize.max, crossAxisAlignment: CrossAxisAlignment.start, @@ -53,9 +53,9 @@ class _ConversationOptionsWidgetState extends State { Container( width: double.infinity, height: 60, - decoration: BoxDecoration(), + decoration: const BoxDecoration(), child: Padding( - padding: EdgeInsetsDirectional.fromSTEB(12, 8, 12, 8), + padding: const EdgeInsetsDirectional.fromSTEB(12, 8, 12, 8), child: Row( mainAxisSize: MainAxisSize.max, children: [ @@ -67,7 +67,7 @@ class _ConversationOptionsWidgetState extends State { borderRadius: BorderRadius.circular(40), ), child: Padding( - padding: EdgeInsets.all(8), + padding: const EdgeInsets.all(8), child: Icon( Icons.share_rounded, color: FlutterFlowTheme.of(context).secondaryText, @@ -77,7 +77,7 @@ class _ConversationOptionsWidgetState extends State { ), Expanded( child: Padding( - padding: EdgeInsetsDirectional.fromSTEB(12, 0, 0, 0), + padding: const EdgeInsetsDirectional.fromSTEB(12, 0, 0, 0), child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.spaceBetween, @@ -102,9 +102,9 @@ class _ConversationOptionsWidgetState extends State { Container( width: double.infinity, height: 60, - decoration: BoxDecoration(), + decoration: const BoxDecoration(), child: Padding( - padding: EdgeInsetsDirectional.fromSTEB(12, 8, 12, 8), + padding: const EdgeInsetsDirectional.fromSTEB(12, 8, 12, 8), child: Row( mainAxisSize: MainAxisSize.max, children: [ @@ -116,7 +116,7 @@ class _ConversationOptionsWidgetState extends State { borderRadius: BorderRadius.circular(40), ), child: Padding( - padding: EdgeInsets.all(8), + padding: const EdgeInsets.all(8), child: Icon( Icons.insert_link, color: FlutterFlowTheme.of(context).secondaryText, @@ -126,7 +126,7 @@ class _ConversationOptionsWidgetState extends State { ), Expanded( child: Padding( - padding: EdgeInsetsDirectional.fromSTEB(12, 0, 0, 0), + padding: const EdgeInsetsDirectional.fromSTEB(12, 0, 0, 0), child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.spaceBetween, @@ -151,9 +151,9 @@ class _ConversationOptionsWidgetState extends State { Container( width: double.infinity, height: 60, - decoration: BoxDecoration(), + decoration: const BoxDecoration(), child: Padding( - padding: EdgeInsetsDirectional.fromSTEB(12, 8, 12, 8), + padding: const EdgeInsetsDirectional.fromSTEB(12, 8, 12, 8), child: Row( mainAxisSize: MainAxisSize.max, children: [ @@ -165,7 +165,7 @@ class _ConversationOptionsWidgetState extends State { borderRadius: BorderRadius.circular(40), ), child: Padding( - padding: EdgeInsets.all(8), + padding: const EdgeInsets.all(8), child: Icon( Icons.mode_edit, color: FlutterFlowTheme.of(context).secondaryText, @@ -175,7 +175,7 @@ class _ConversationOptionsWidgetState extends State { ), Expanded( child: Padding( - padding: EdgeInsetsDirectional.fromSTEB(12, 0, 0, 0), + padding: const EdgeInsetsDirectional.fromSTEB(12, 0, 0, 0), child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.spaceBetween, @@ -200,9 +200,9 @@ class _ConversationOptionsWidgetState extends State { Container( width: double.infinity, height: 60, - decoration: BoxDecoration(), + decoration: const BoxDecoration(), child: Padding( - padding: EdgeInsetsDirectional.fromSTEB(12, 8, 12, 8), + padding: const EdgeInsetsDirectional.fromSTEB(12, 8, 12, 8), child: Row( mainAxisSize: MainAxisSize.max, children: [ @@ -214,7 +214,7 @@ class _ConversationOptionsWidgetState extends State { borderRadius: BorderRadius.circular(40), ), child: Padding( - padding: EdgeInsets.all(8), + padding: const EdgeInsets.all(8), child: Icon( Icons.hide_source, color: FlutterFlowTheme.of(context).secondaryText, @@ -224,7 +224,7 @@ class _ConversationOptionsWidgetState extends State { ), Expanded( child: Padding( - padding: EdgeInsetsDirectional.fromSTEB(12, 0, 0, 0), + padding: const EdgeInsetsDirectional.fromSTEB(12, 0, 0, 0), child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.spaceBetween, diff --git a/mobile/app/lib/components/ConversationThreadModel.dart b/mobile/app/lib/components/conversation_thread/conversation_thread_model.dart similarity index 100% rename from mobile/app/lib/components/ConversationThreadModel.dart rename to mobile/app/lib/components/conversation_thread/conversation_thread_model.dart diff --git a/mobile/app/lib/components/ConversationThreadWidget.dart b/mobile/app/lib/components/conversation_thread/conversation_thread_widget.dart similarity index 88% rename from mobile/app/lib/components/ConversationThreadWidget.dart rename to mobile/app/lib/components/conversation_thread/conversation_thread_widget.dart index bc35cd6..51ceb3e 100644 --- a/mobile/app/lib/components/ConversationThreadWidget.dart +++ b/mobile/app/lib/components/conversation_thread/conversation_thread_widget.dart @@ -57,7 +57,7 @@ class _ConversationThreadWidgetState extends State { children: [ Expanded( child: ListView( - padding: EdgeInsets.fromLTRB( + padding: const EdgeInsets.fromLTRB( 0, 12, 0, @@ -67,14 +67,14 @@ class _ConversationThreadWidgetState extends State { scrollDirection: Axis.vertical, children: [ Container( - decoration: BoxDecoration(), + decoration: const BoxDecoration(), ), Container( height: MediaQuery.sizeOf(context).height * 1, constraints: BoxConstraints( minHeight: MediaQuery.sizeOf(context).height * 1, ), - decoration: BoxDecoration(), + decoration: const BoxDecoration(), child: wrapWithModel( model: _model.conversationBubblesModel, updateCallback: () => setState(() {}), @@ -88,7 +88,7 @@ class _ConversationThreadWidgetState extends State { width: double.infinity, decoration: BoxDecoration( color: FlutterFlowTheme.of(context).secondaryBackground, - boxShadow: [ + boxShadow: const [ BoxShadow( blurRadius: 3, color: Color(0x33000000), @@ -107,7 +107,7 @@ class _ConversationThreadWidgetState extends State { children: [ Expanded( child: Padding( - padding: EdgeInsetsDirectional.fromSTEB(0, 12, 0, 0), + padding: const EdgeInsetsDirectional.fromSTEB(0, 12, 0, 0), child: SingleChildScrollView( scrollDirection: Axis.horizontal, child: Row( @@ -119,9 +119,9 @@ class _ConversationThreadWidgetState extends State { imageBuilder: (path) => ClipRRect( borderRadius: BorderRadius.circular(8), child: CachedNetworkImage( - fadeInDuration: Duration(milliseconds: 500), + fadeInDuration: const Duration(milliseconds: 500), fadeOutDuration: - Duration(milliseconds: 500), + const Duration(milliseconds: 500), imageUrl: path, width: 120, height: 100, @@ -140,7 +140,7 @@ class _ConversationThreadWidgetState extends State { ), ), Align( - alignment: AlignmentDirectional(-1, -1), + alignment: const AlignmentDirectional(-1, -1), child: FlutterFlowIconButton( borderColor: FlutterFlowTheme.of(context).error, @@ -160,9 +160,9 @@ class _ConversationThreadWidgetState extends State { ), ), ] - .divide(SizedBox(width: 8)) - .addToStart(SizedBox(width: 16)) - .addToEnd(SizedBox(width: 16)), + .divide(const SizedBox(width: 8)) + .addToStart(const SizedBox(width: 16)) + .addToEnd(const SizedBox(width: 16)), ), ), ), @@ -173,7 +173,7 @@ class _ConversationThreadWidgetState extends State { key: _model.formKey, autovalidateMode: AutovalidateMode.disabled, child: Padding( - padding: EdgeInsetsDirectional.fromSTEB(0, 0, 0, 8), + padding: const EdgeInsetsDirectional.fromSTEB(0, 0, 0, 8), child: wrapWithModel( model: _model.promptBoxModel, updateCallback: () => setState(() {}), diff --git a/mobile/app/lib/components/ModelItemModel.dart b/mobile/app/lib/components/model_item/model_item_model.dart similarity index 100% rename from mobile/app/lib/components/ModelItemModel.dart rename to mobile/app/lib/components/model_item/model_item_model.dart diff --git a/mobile/app/lib/components/ModelItemWidget.dart b/mobile/app/lib/components/model_item/model_item_widget.dart similarity index 92% rename from mobile/app/lib/components/ModelItemWidget.dart rename to mobile/app/lib/components/model_item/model_item_widget.dart index 2ba9817..90c244f 100644 --- a/mobile/app/lib/components/ModelItemWidget.dart +++ b/mobile/app/lib/components/model_item/model_item_widget.dart @@ -41,13 +41,19 @@ class _ModelItemWidgetState extends State { return MouseRegion( opaque: false, cursor: MouseCursor.defer ?? MouseCursor.defer, + onEnter: ((event) async { + setState(() => _model.iuserHovered = true); + }), + onExit: ((event) async { + setState(() => _model.iuserHovered = false); + }), child: Container( decoration: BoxDecoration( color: FlutterFlowTheme.of(context).primaryBackground, borderRadius: BorderRadius.circular(0), ), child: Padding( - padding: EdgeInsetsDirectional.fromSTEB(12, 8, 12, 8), + padding: const EdgeInsetsDirectional.fromSTEB(12, 8, 12, 8), child: Row( mainAxisSize: MainAxisSize.max, children: [ @@ -63,7 +69,7 @@ class _ModelItemWidgetState extends State { ), ), child: Align( - alignment: AlignmentDirectional(0, 0), + alignment: const AlignmentDirectional(0, 0), child: Text( 'A', textAlign: TextAlign.center, @@ -77,7 +83,7 @@ class _ModelItemWidgetState extends State { ), Expanded( child: Padding( - padding: EdgeInsetsDirectional.fromSTEB(12, 0, 8, 0), + padding: const EdgeInsetsDirectional.fromSTEB(12, 0, 8, 0), child: Column( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.center, @@ -92,7 +98,7 @@ class _ModelItemWidgetState extends State { ), ), Padding( - padding: EdgeInsetsDirectional.fromSTEB(0, 4, 0, 0), + padding: const EdgeInsetsDirectional.fromSTEB(0, 4, 0, 0), child: Text( 'name@domainname.com', style: @@ -111,12 +117,6 @@ class _ModelItemWidgetState extends State { ), ), ), - onEnter: ((event) async { - setState(() => _model.iuserHovered = true); - }), - onExit: ((event) async { - setState(() => _model.iuserHovered = false); - }), ); } } diff --git a/mobile/app/lib/components/NoChatsModel.dart b/mobile/app/lib/components/no_chats_model.dart similarity index 100% rename from mobile/app/lib/components/NoChatsModel.dart rename to mobile/app/lib/components/no_chats_model.dart diff --git a/mobile/app/lib/components/NoChatsWidget.dart b/mobile/app/lib/components/no_chats_widget.dart similarity index 86% rename from mobile/app/lib/components/NoChatsWidget.dart rename to mobile/app/lib/components/no_chats_widget.dart index b1274a3..3cf8561 100644 --- a/mobile/app/lib/components/NoChatsWidget.dart +++ b/mobile/app/lib/components/no_chats_widget.dart @@ -13,8 +13,8 @@ class NoChatsWidget extends StatefulWidget { this.icon, String? title, String? body, - }) : this.title = title ?? 'No Comments', - this.body = body ?? 'There are no comments associated with this post.'; + }) : title = title ?? 'No Comments', + body = body ?? 'There are no comments associated with this post.'; final Widget? icon; final String title; @@ -49,14 +49,14 @@ class _NoChatsWidgetState extends State { @override Widget build(BuildContext context) { return Align( - alignment: AlignmentDirectional(0, -1), + alignment: const AlignmentDirectional(0, -1), child: Column( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.center, children: [ widget.icon!, Padding( - padding: EdgeInsetsDirectional.fromSTEB(0, 16, 0, 0), + padding: const EdgeInsetsDirectional.fromSTEB(0, 16, 0, 0), child: Text( widget.title, textAlign: TextAlign.center, @@ -68,7 +68,7 @@ class _NoChatsWidgetState extends State { ), ), Padding( - padding: EdgeInsetsDirectional.fromSTEB(16, 8, 16, 0), + padding: const EdgeInsetsDirectional.fromSTEB(16, 8, 16, 0), child: Text( widget.body, textAlign: TextAlign.center, diff --git a/mobile/app/lib/components/OptionsDialogModel.dart b/mobile/app/lib/components/options_dialog/options_dialog_model.dart similarity index 100% rename from mobile/app/lib/components/OptionsDialogModel.dart rename to mobile/app/lib/components/options_dialog/options_dialog_model.dart diff --git a/mobile/app/lib/components/PopupWidget.dart b/mobile/app/lib/components/options_dialog/options_dialog_widget.dart similarity index 80% rename from mobile/app/lib/components/PopupWidget.dart rename to mobile/app/lib/components/options_dialog/options_dialog_widget.dart index a70dde1..c06d51b 100644 --- a/mobile/app/lib/components/PopupWidget.dart +++ b/mobile/app/lib/components/options_dialog/options_dialog_widget.dart @@ -6,8 +6,8 @@ import 'package:flutter/material.dart'; import 'package:google_fonts/google_fonts.dart'; import 'package:provider/provider.dart'; -import 'popup_model.dart'; -export 'popup_model.dart'; +import '/components/popup/popup_model.dart'; +export '/components/popup/popup_model.dart'; class PopupWidget extends StatefulWidget { const PopupWidget({super.key}); @@ -43,16 +43,16 @@ class _PopupWidgetState extends State { return Visibility( visible: true, child: Align( - alignment: AlignmentDirectional(0, 0), + alignment: const AlignmentDirectional(0, 0), child: Container( width: double.infinity, - constraints: BoxConstraints( + constraints: const BoxConstraints( maxWidth: 570, maxHeight: 375, ), decoration: BoxDecoration( color: Colors.white, - boxShadow: [ + boxShadow: const [ BoxShadow( blurRadius: 64, color: Color(0xB2000000), @@ -65,14 +65,14 @@ class _PopupWidgetState extends State { ], borderRadius: BorderRadius.circular(12), border: Border.all( - color: Color(0xFFE0E3E7), + color: const Color(0xFFE0E3E7), ), ), - alignment: AlignmentDirectional(0, 0), + alignment: const AlignmentDirectional(0, 0), child: Align( - alignment: AlignmentDirectional(0, 0), + alignment: const AlignmentDirectional(0, 0), child: Padding( - padding: EdgeInsets.all(24), + padding: const EdgeInsets.all(24), child: Column( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.end, @@ -83,14 +83,14 @@ class _PopupWidgetState extends State { children: [ Expanded( child: Padding( - padding: EdgeInsetsDirectional.fromSTEB(0, 0, 12, 0), + padding: const EdgeInsetsDirectional.fromSTEB(0, 0, 12, 0), child: Text( 'Refine the components modal.', style: FlutterFlowTheme.of(context) .headlineMedium .override( fontFamily: 'Outfit', - color: Color(0xFF14181B), + color: const Color(0xFF14181B), fontSize: 24, letterSpacing: 0, fontWeight: FontWeight.normal, @@ -99,11 +99,11 @@ class _PopupWidgetState extends State { ), ), FlutterFlowIconButton( - borderColor: Color(0xFFF1F4F8), + borderColor: const Color(0xFFF1F4F8), borderRadius: 30, borderWidth: 2, buttonSize: 44, - icon: Icon( + icon: const Icon( Icons.close_rounded, color: Color(0xFF57636C), size: 24, @@ -114,7 +114,7 @@ class _PopupWidgetState extends State { ), ], ), - Divider( + const Divider( height: 24, thickness: 2, color: Color(0xFFF1F4F8), @@ -123,14 +123,14 @@ class _PopupWidgetState extends State { 'FlutterFlow is a visual development platform that allows you to easily create beautiful and responsive user interfaces for your mobile and web applications. With its drag-and-drop interface and pre-built components, you can quickly prototype and build your app without writing any code. \nAdditionally, FlutterFlow\'s real-time preview feature allows you to see your changes in real-time and make adjustments on the fly.', style: FlutterFlowTheme.of(context).labelMedium.override( fontFamily: 'Readex Pro', - color: Color(0xFF57636C), + color: const Color(0xFF57636C), fontSize: 14, letterSpacing: 0, fontWeight: FontWeight.normal, ), ), Padding( - padding: EdgeInsetsDirectional.fromSTEB(0, 16, 0, 0), + padding: const EdgeInsetsDirectional.fromSTEB(0, 16, 0, 0), child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.spaceBetween, @@ -143,26 +143,26 @@ class _PopupWidgetState extends State { options: FFButtonOptions( height: 40, padding: - EdgeInsetsDirectional.fromSTEB(24, 0, 24, 0), + const EdgeInsetsDirectional.fromSTEB(24, 0, 24, 0), iconPadding: - EdgeInsetsDirectional.fromSTEB(0, 0, 0, 0), + const EdgeInsetsDirectional.fromSTEB(0, 0, 0, 0), color: Colors.white, textStyle: FlutterFlowTheme.of(context).bodySmall.override( fontFamily: 'Readex Pro', - color: Color(0xFF14181B), + color: const Color(0xFF14181B), fontSize: 12, letterSpacing: 0, fontWeight: FontWeight.normal, ), elevation: 0, - borderSide: BorderSide( + borderSide: const BorderSide( color: Color(0xFFF1F4F8), width: 2, ), borderRadius: BorderRadius.circular(8), - hoverColor: Color(0xFFF1F4F8), - hoverTextColor: Color(0xFF14181B), + hoverColor: const Color(0xFFF1F4F8), + hoverTextColor: const Color(0xFF14181B), ), ), FFButtonWidget( @@ -173,10 +173,10 @@ class _PopupWidgetState extends State { options: FFButtonOptions( width: 130, height: 40, - padding: EdgeInsetsDirectional.fromSTEB(0, 0, 0, 0), + padding: const EdgeInsetsDirectional.fromSTEB(0, 0, 0, 0), iconPadding: - EdgeInsetsDirectional.fromSTEB(0, 0, 0, 0), - color: Color(0xFF4B39EF), + const EdgeInsetsDirectional.fromSTEB(0, 0, 0, 0), + color: const Color(0xFF4B39EF), textStyle: FlutterFlowTheme.of(context) .titleSmall .override( @@ -187,12 +187,12 @@ class _PopupWidgetState extends State { fontWeight: FontWeight.w500, ), elevation: 3, - borderSide: BorderSide( + borderSide: const BorderSide( color: Colors.transparent, width: 1, ), borderRadius: BorderRadius.circular(8), - hoverColor: Color(0xFF2B16ED), + hoverColor: const Color(0xFF2B16ED), hoverTextColor: Colors.white, ), ), diff --git a/mobile/app/lib/components/PopupModel.dart b/mobile/app/lib/components/popup/popup_model.dart similarity index 100% rename from mobile/app/lib/components/PopupModel.dart rename to mobile/app/lib/components/popup/popup_model.dart diff --git a/mobile/app/lib/components/OptionsDialogWidget.dart b/mobile/app/lib/components/popup/popup_widget.dart similarity index 81% rename from mobile/app/lib/components/OptionsDialogWidget.dart rename to mobile/app/lib/components/popup/popup_widget.dart index a70dde1..d2c6420 100644 --- a/mobile/app/lib/components/OptionsDialogWidget.dart +++ b/mobile/app/lib/components/popup/popup_widget.dart @@ -43,16 +43,16 @@ class _PopupWidgetState extends State { return Visibility( visible: true, child: Align( - alignment: AlignmentDirectional(0, 0), + alignment: const AlignmentDirectional(0, 0), child: Container( width: double.infinity, - constraints: BoxConstraints( + constraints: const BoxConstraints( maxWidth: 570, maxHeight: 375, ), decoration: BoxDecoration( color: Colors.white, - boxShadow: [ + boxShadow: const [ BoxShadow( blurRadius: 64, color: Color(0xB2000000), @@ -65,14 +65,14 @@ class _PopupWidgetState extends State { ], borderRadius: BorderRadius.circular(12), border: Border.all( - color: Color(0xFFE0E3E7), + color: const Color(0xFFE0E3E7), ), ), - alignment: AlignmentDirectional(0, 0), + alignment: const AlignmentDirectional(0, 0), child: Align( - alignment: AlignmentDirectional(0, 0), + alignment: const AlignmentDirectional(0, 0), child: Padding( - padding: EdgeInsets.all(24), + padding: const EdgeInsets.all(24), child: Column( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.end, @@ -83,14 +83,14 @@ class _PopupWidgetState extends State { children: [ Expanded( child: Padding( - padding: EdgeInsetsDirectional.fromSTEB(0, 0, 12, 0), + padding: const EdgeInsetsDirectional.fromSTEB(0, 0, 12, 0), child: Text( 'Refine the components modal.', style: FlutterFlowTheme.of(context) .headlineMedium .override( fontFamily: 'Outfit', - color: Color(0xFF14181B), + color: const Color(0xFF14181B), fontSize: 24, letterSpacing: 0, fontWeight: FontWeight.normal, @@ -99,11 +99,11 @@ class _PopupWidgetState extends State { ), ), FlutterFlowIconButton( - borderColor: Color(0xFFF1F4F8), + borderColor: const Color(0xFFF1F4F8), borderRadius: 30, borderWidth: 2, buttonSize: 44, - icon: Icon( + icon: const Icon( Icons.close_rounded, color: Color(0xFF57636C), size: 24, @@ -114,7 +114,7 @@ class _PopupWidgetState extends State { ), ], ), - Divider( + const Divider( height: 24, thickness: 2, color: Color(0xFFF1F4F8), @@ -123,14 +123,14 @@ class _PopupWidgetState extends State { 'FlutterFlow is a visual development platform that allows you to easily create beautiful and responsive user interfaces for your mobile and web applications. With its drag-and-drop interface and pre-built components, you can quickly prototype and build your app without writing any code. \nAdditionally, FlutterFlow\'s real-time preview feature allows you to see your changes in real-time and make adjustments on the fly.', style: FlutterFlowTheme.of(context).labelMedium.override( fontFamily: 'Readex Pro', - color: Color(0xFF57636C), + color: const Color(0xFF57636C), fontSize: 14, letterSpacing: 0, fontWeight: FontWeight.normal, ), ), Padding( - padding: EdgeInsetsDirectional.fromSTEB(0, 16, 0, 0), + padding: const EdgeInsetsDirectional.fromSTEB(0, 16, 0, 0), child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.spaceBetween, @@ -143,26 +143,26 @@ class _PopupWidgetState extends State { options: FFButtonOptions( height: 40, padding: - EdgeInsetsDirectional.fromSTEB(24, 0, 24, 0), + const EdgeInsetsDirectional.fromSTEB(24, 0, 24, 0), iconPadding: - EdgeInsetsDirectional.fromSTEB(0, 0, 0, 0), + const EdgeInsetsDirectional.fromSTEB(0, 0, 0, 0), color: Colors.white, textStyle: FlutterFlowTheme.of(context).bodySmall.override( fontFamily: 'Readex Pro', - color: Color(0xFF14181B), + color: const Color(0xFF14181B), fontSize: 12, letterSpacing: 0, fontWeight: FontWeight.normal, ), elevation: 0, - borderSide: BorderSide( + borderSide: const BorderSide( color: Color(0xFFF1F4F8), width: 2, ), borderRadius: BorderRadius.circular(8), - hoverColor: Color(0xFFF1F4F8), - hoverTextColor: Color(0xFF14181B), + hoverColor: const Color(0xFFF1F4F8), + hoverTextColor: const Color(0xFF14181B), ), ), FFButtonWidget( @@ -173,10 +173,10 @@ class _PopupWidgetState extends State { options: FFButtonOptions( width: 130, height: 40, - padding: EdgeInsetsDirectional.fromSTEB(0, 0, 0, 0), + padding: const EdgeInsetsDirectional.fromSTEB(0, 0, 0, 0), iconPadding: - EdgeInsetsDirectional.fromSTEB(0, 0, 0, 0), - color: Color(0xFF4B39EF), + const EdgeInsetsDirectional.fromSTEB(0, 0, 0, 0), + color: const Color(0xFF4B39EF), textStyle: FlutterFlowTheme.of(context) .titleSmall .override( @@ -187,12 +187,12 @@ class _PopupWidgetState extends State { fontWeight: FontWeight.w500, ), elevation: 3, - borderSide: BorderSide( + borderSide: const BorderSide( color: Colors.transparent, width: 1, ), borderRadius: BorderRadius.circular(8), - hoverColor: Color(0xFF2B16ED), + hoverColor: const Color(0xFF2B16ED), hoverTextColor: Colors.white, ), ), diff --git a/mobile/app/lib/components/PromptBoxModel.dart b/mobile/app/lib/components/prompt_box/prompt_box_model.dart similarity index 100% rename from mobile/app/lib/components/PromptBoxModel.dart rename to mobile/app/lib/components/prompt_box/prompt_box_model.dart diff --git a/mobile/app/lib/components/PromptBoxWidget.dart b/mobile/app/lib/components/prompt_box/prompt_box_widget.dart similarity index 93% rename from mobile/app/lib/components/PromptBoxWidget.dart rename to mobile/app/lib/components/prompt_box/prompt_box_widget.dart index 7713f62..e53a61f 100644 --- a/mobile/app/lib/components/PromptBoxWidget.dart +++ b/mobile/app/lib/components/prompt_box/prompt_box_widget.dart @@ -50,7 +50,7 @@ class _PromptBoxWidgetState extends State { color: FlutterFlowTheme.of(context).secondaryBackground, borderRadius: BorderRadius.circular(10), ), - alignment: AlignmentDirectional(0, 0), + alignment: const AlignmentDirectional(0, 0), child: Column( mainAxisSize: MainAxisSize.max, children: [ @@ -61,7 +61,7 @@ class _PromptBoxWidgetState extends State { children: [ Expanded( child: Padding( - padding: EdgeInsets.all(14), + padding: const EdgeInsets.all(14), child: FlutterFlowIconButton( borderColor: Colors.transparent, borderRadius: 30, @@ -80,7 +80,7 @@ class _PromptBoxWidgetState extends State { ), Expanded( child: Padding( - padding: EdgeInsets.all(14), + padding: const EdgeInsets.all(14), child: FlutterFlowIconButton( borderColor: Colors.transparent, borderRadius: 30, @@ -99,7 +99,7 @@ class _PromptBoxWidgetState extends State { ), Expanded( child: Padding( - padding: EdgeInsets.all(14), + padding: const EdgeInsets.all(14), child: FlutterFlowIconButton( borderColor: Colors.transparent, borderRadius: 30, @@ -118,7 +118,7 @@ class _PromptBoxWidgetState extends State { ), Expanded( child: Padding( - padding: EdgeInsets.all(14), + padding: const EdgeInsets.all(14), child: FlutterFlowIconButton( borderColor: Colors.transparent, borderRadius: 30, @@ -137,7 +137,7 @@ class _PromptBoxWidgetState extends State { ), Expanded( child: Padding( - padding: EdgeInsets.all(14), + padding: const EdgeInsets.all(14), child: FlutterFlowIconButton( borderColor: Colors.transparent, borderRadius: 30, @@ -162,13 +162,13 @@ class _PromptBoxWidgetState extends State { Expanded( flex: 7, child: Padding( - padding: EdgeInsetsDirectional.fromSTEB(12, 0, 12, 0), + padding: const EdgeInsetsDirectional.fromSTEB(12, 0, 12, 0), child: TextFormField( controller: _model.textController, focusNode: _model.textFieldFocusNode, onChanged: (_) => EasyDebounce.debounce( '_model.textController', - Duration(milliseconds: 2000), + const Duration(milliseconds: 2000), () => setState(() {}), ), autofocus: true, @@ -192,21 +192,21 @@ class _PromptBoxWidgetState extends State { borderRadius: BorderRadius.circular(12), ), focusedBorder: OutlineInputBorder( - borderSide: BorderSide( + borderSide: const BorderSide( color: Color(0x00000000), width: 2, ), borderRadius: BorderRadius.circular(12), ), errorBorder: OutlineInputBorder( - borderSide: BorderSide( + borderSide: const BorderSide( color: Color(0x00000000), width: 2, ), borderRadius: BorderRadius.circular(12), ), focusedErrorBorder: OutlineInputBorder( - borderSide: BorderSide( + borderSide: const BorderSide( color: Color(0x00000000), width: 2, ), diff --git a/mobile/app/lib/pages/ConversationModel.dart b/mobile/app/lib/pages/conversation_model.dart similarity index 100% rename from mobile/app/lib/pages/ConversationModel.dart rename to mobile/app/lib/pages/conversation_model.dart diff --git a/mobile/app/lib/pages/ConversationWidget.dart b/mobile/app/lib/pages/conversation_widget.dart similarity index 96% rename from mobile/app/lib/pages/ConversationWidget.dart rename to mobile/app/lib/pages/conversation_widget.dart index 0954514..ec5f357 100644 --- a/mobile/app/lib/pages/ConversationWidget.dart +++ b/mobile/app/lib/pages/conversation_widget.dart @@ -66,7 +66,7 @@ class _ConversationWidgetState extends State { kTransitionInfoKey: TransitionInfo( hasTransition: true, transitionType: PageTransitionType.leftToRight, - duration: Duration(milliseconds: 250), + duration: const Duration(milliseconds: 250), ), }, ); @@ -79,7 +79,7 @@ class _ConversationWidgetState extends State { ), actions: [ Padding( - padding: EdgeInsetsDirectional.fromSTEB(0, 8, 16, 8), + padding: const EdgeInsetsDirectional.fromSTEB(0, 8, 16, 8), child: FlutterFlowIconButton( borderColor: FlutterFlowTheme.of(context).alternate, borderRadius: 12, diff --git a/mobile/app/lib/pages/ConversationsListModel.dart b/mobile/app/lib/pages/conversations_list_model.dart similarity index 100% rename from mobile/app/lib/pages/ConversationsListModel.dart rename to mobile/app/lib/pages/conversations_list_model.dart diff --git a/mobile/app/lib/pages/ConversationsListWidget.dart b/mobile/app/lib/pages/conversations_list_widget.dart similarity index 94% rename from mobile/app/lib/pages/ConversationsListWidget.dart rename to mobile/app/lib/pages/conversations_list_widget.dart index da3b2cb..6bac5ec 100644 --- a/mobile/app/lib/pages/ConversationsListWidget.dart +++ b/mobile/app/lib/pages/conversations_list_widget.dart @@ -93,7 +93,7 @@ class _ConversationsListWidgetState extends State { letterSpacing: 0, ), ), - actions: [], + actions: const [], centerTitle: false, elevation: 0, ), @@ -104,7 +104,7 @@ class _ConversationsListWidgetState extends State { crossAxisAlignment: CrossAxisAlignment.start, children: [ Padding( - padding: EdgeInsetsDirectional.fromSTEB(16, 0, 0, 0), + padding: const EdgeInsetsDirectional.fromSTEB(16, 0, 0, 0), child: Text( 'AI conversations', style: FlutterFlowTheme.of(context).labelMedium.override( @@ -115,14 +115,14 @@ class _ConversationsListWidgetState extends State { ), Expanded( child: Align( - alignment: AlignmentDirectional(0, 0), + alignment: const AlignmentDirectional(0, 0), child: ListView( padding: EdgeInsets.zero, reverse: true, scrollDirection: Axis.vertical, children: [ Align( - alignment: AlignmentDirectional(0, 0), + alignment: const AlignmentDirectional(0, 0), child: InkWell( splashColor: Colors.transparent, focusColor: Colors.transparent, @@ -144,7 +144,7 @@ class _ConversationsListWidgetState extends State { .secondaryBackground, ), child: Align( - alignment: AlignmentDirectional(0, 0), + alignment: const AlignmentDirectional(0, 0), child: Icon( Icons.settings_outlined, color: FlutterFlowTheme.of(context) @@ -155,7 +155,7 @@ class _ConversationsListWidgetState extends State { ), Expanded( child: Align( - alignment: AlignmentDirectional(-1, 0), + alignment: const AlignmentDirectional(-1, 0), child: Container( width: 100, height: 100, @@ -177,7 +177,7 @@ class _ConversationsListWidgetState extends State { children: [ Align( alignment: - AlignmentDirectional(-1, 0), + const AlignmentDirectional(-1, 0), child: Row( mainAxisSize: MainAxisSize.max, children: [ @@ -196,7 +196,7 @@ class _ConversationsListWidgetState extends State { ), Align( alignment: - AlignmentDirectional(-1, 0), + const AlignmentDirectional(-1, 0), child: Row( mainAxisSize: MainAxisSize.max, children: [ diff --git a/mobile/app/lib/pages/ImageDetailsModel.dart b/mobile/app/lib/pages/image_details_model.dart similarity index 93% rename from mobile/app/lib/pages/ImageDetailsModel.dart rename to mobile/app/lib/pages/image_details_model.dart index 6398018..5d4863d 100644 --- a/mobile/app/lib/pages/ImageDetailsModel.dart +++ b/mobile/app/lib/pages/image_details_model.dart @@ -3,12 +3,10 @@ import '/flutter_flow/flutter_flow_icon_button.dart'; import '/flutter_flow/flutter_flow_theme.dart'; import '/flutter_flow/flutter_flow_util.dart'; import '/flutter_flow/flutter_flow_widgets.dart'; -import 'dart:math'; import 'image_details_widget.dart' show ImageDetailsWidget; import 'package:auto_size_text/auto_size_text.dart'; import 'package:cached_network_image/cached_network_image.dart'; import 'package:flutter/material.dart'; -import 'package:flutter/scheduler.dart'; import 'package:flutter_animate/flutter_animate.dart'; import 'package:google_fonts/google_fonts.dart'; import 'package:provider/provider.dart'; diff --git a/mobile/app/lib/pages/ImageDetailsWidget.dart b/mobile/app/lib/pages/image_details_widget.dart similarity index 87% rename from mobile/app/lib/pages/ImageDetailsWidget.dart rename to mobile/app/lib/pages/image_details_widget.dart index e5d5c74..6b12719 100644 --- a/mobile/app/lib/pages/ImageDetailsWidget.dart +++ b/mobile/app/lib/pages/image_details_widget.dart @@ -3,11 +3,9 @@ import '/flutter_flow/flutter_flow_icon_button.dart'; import '/flutter_flow/flutter_flow_theme.dart'; import '/flutter_flow/flutter_flow_util.dart'; import '/flutter_flow/flutter_flow_widgets.dart'; -import 'dart:math'; import 'package:auto_size_text/auto_size_text.dart'; import 'package:cached_network_image/cached_network_image.dart'; import 'package:flutter/material.dart'; -import 'package:flutter/scheduler.dart'; import 'package:flutter_animate/flutter_animate.dart'; import 'package:google_fonts/google_fonts.dart'; import 'package:provider/provider.dart'; @@ -51,15 +49,15 @@ class _ImageDetailsWidgetState extends State curve: Curves.easeInOut, delay: 0.0.ms, duration: 300.0.ms, - begin: Offset(0.0, 30.0), - end: Offset(0.0, 0.0), + begin: const Offset(0.0, 30.0), + end: const Offset(0.0, 0.0), ), ScaleEffect( curve: Curves.easeInOut, delay: 0.0.ms, duration: 300.0.ms, - begin: Offset(0.7, 0.7), - end: Offset(1.0, 1.0), + begin: const Offset(0.7, 0.7), + end: const Offset(1.0, 1.0), ), ], ), @@ -78,15 +76,15 @@ class _ImageDetailsWidgetState extends State curve: Curves.easeInOut, delay: 0.0.ms, duration: 300.0.ms, - begin: Offset(0.0, 30.0), - end: Offset(0.0, 0.0), + begin: const Offset(0.0, 30.0), + end: const Offset(0.0, 0.0), ), TiltEffect( curve: Curves.easeInOut, delay: 0.0.ms, duration: 300.0.ms, - begin: Offset(-0.698, 0), - end: Offset(0, 0), + begin: const Offset(-0.698, 0), + end: const Offset(0, 0), ), ], ), @@ -126,7 +124,7 @@ class _ImageDetailsWidgetState extends State context.pop(); }, ), - actions: [], + actions: const [], centerTitle: false, elevation: 0, ), @@ -137,15 +135,15 @@ class _ImageDetailsWidgetState extends State children: [ Expanded( child: Padding( - padding: EdgeInsets.all(12), + padding: const EdgeInsets.all(12), child: Hero( tag: 'hero', transitionOnUserGestures: true, child: ClipRRect( borderRadius: BorderRadius.circular(8), child: CachedNetworkImage( - fadeInDuration: Duration(milliseconds: 500), - fadeOutDuration: Duration(milliseconds: 500), + fadeInDuration: const Duration(milliseconds: 500), + fadeOutDuration: const Duration(milliseconds: 500), imageUrl: 'https://picsum.photos/seed/150/600', width: double.infinity, fit: BoxFit.fitWidth, @@ -158,13 +156,13 @@ class _ImageDetailsWidgetState extends State ), ), Padding( - padding: EdgeInsetsDirectional.fromSTEB(12, 12, 12, 32), + padding: const EdgeInsetsDirectional.fromSTEB(12, 12, 12, 32), child: Row( mainAxisSize: MainAxisSize.max, crossAxisAlignment: CrossAxisAlignment.start, children: [ Padding( - padding: EdgeInsetsDirectional.fromSTEB(0, 4, 8, 16), + padding: const EdgeInsetsDirectional.fromSTEB(0, 4, 8, 16), child: Container( width: 36, height: 36, @@ -178,12 +176,12 @@ class _ImageDetailsWidgetState extends State ), ), child: Padding( - padding: EdgeInsets.all(2), + padding: const EdgeInsets.all(2), child: ClipRRect( borderRadius: BorderRadius.circular(8), child: CachedNetworkImage( - fadeInDuration: Duration(milliseconds: 200), - fadeOutDuration: Duration(milliseconds: 200), + fadeInDuration: const Duration(milliseconds: 200), + fadeOutDuration: const Duration(milliseconds: 200), imageUrl: 'https://images.unsplash.com/photo-1521572267360-ee0c2909d518?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NTYyMDF8MHwxfHNlYXJjaHwyMHx8cHJvZmlsZXxlbnwwfHx8fDE2OTU4MjQ5OTN8MA&ixlib=rb-4.0.3&q=80&w=1080', width: 44, @@ -196,7 +194,7 @@ class _ImageDetailsWidgetState extends State ), Flexible( child: Padding( - padding: EdgeInsetsDirectional.fromSTEB(0, 0, 0, 8), + padding: const EdgeInsetsDirectional.fromSTEB(0, 0, 0, 8), child: Column( mainAxisSize: MainAxisSize.max, crossAxisAlignment: CrossAxisAlignment.start, @@ -218,7 +216,7 @@ class _ImageDetailsWidgetState extends State ), )), Padding( - padding: EdgeInsetsDirectional.fromSTEB( + padding: const EdgeInsetsDirectional.fromSTEB( 0, 4, 0, 0), child: Text( 'Just Now', @@ -230,11 +228,11 @@ class _ImageDetailsWidgetState extends State ), ), ), - ].divide(SizedBox(width: 4)), + ].divide(const SizedBox(width: 4)), ), Padding( padding: - EdgeInsetsDirectional.fromSTEB(0, 4, 0, 0), + const EdgeInsetsDirectional.fromSTEB(0, 4, 0, 0), child: SelectionArea( child: AutoSizeText( 'Thanks so much! We really do appreciate it!', diff --git a/mobile/app/lib/pages/SettingsModel.dart b/mobile/app/lib/pages/settings_model.dart similarity index 91% rename from mobile/app/lib/pages/SettingsModel.dart rename to mobile/app/lib/pages/settings_model.dart index 19e74a3..c5f34a0 100644 --- a/mobile/app/lib/pages/SettingsModel.dart +++ b/mobile/app/lib/pages/settings_model.dart @@ -3,11 +3,9 @@ import '/flutter_flow/flutter_flow_animations.dart'; import '/flutter_flow/flutter_flow_theme.dart'; import '/flutter_flow/flutter_flow_util.dart'; import '/flutter_flow/flutter_flow_widgets.dart'; -import 'dart:math'; import 'settings_widget.dart' show SettingsWidget; import 'package:cached_network_image/cached_network_image.dart'; import 'package:flutter/material.dart'; -import 'package:flutter/scheduler.dart'; import 'package:flutter_animate/flutter_animate.dart'; import 'package:google_fonts/google_fonts.dart'; import 'package:provider/provider.dart'; diff --git a/mobile/app/lib/pages/SettingsWidget.dart b/mobile/app/lib/pages/settings_widget.dart similarity index 93% rename from mobile/app/lib/pages/SettingsWidget.dart rename to mobile/app/lib/pages/settings_widget.dart index 7905835..d1f5e44 100644 --- a/mobile/app/lib/pages/SettingsWidget.dart +++ b/mobile/app/lib/pages/settings_widget.dart @@ -3,10 +3,8 @@ import '/flutter_flow/flutter_flow_animations.dart'; import '/flutter_flow/flutter_flow_theme.dart'; import '/flutter_flow/flutter_flow_util.dart'; import '/flutter_flow/flutter_flow_widgets.dart'; -import 'dart:math'; import 'package:cached_network_image/cached_network_image.dart'; import 'package:flutter/material.dart'; -import 'package:flutter/scheduler.dart'; import 'package:flutter_animate/flutter_animate.dart'; import 'package:google_fonts/google_fonts.dart'; import 'package:provider/provider.dart'; @@ -49,8 +47,8 @@ class _SettingsWidgetState extends State curve: Curves.easeInOut, delay: 0.0.ms, duration: 600.0.ms, - begin: Offset(0.0, 90.0), - end: Offset(0.0, 0.0), + begin: const Offset(0.0, 90.0), + end: const Offset(0.0, 0.0), ), ], ), @@ -68,8 +66,8 @@ class _SettingsWidgetState extends State curve: Curves.easeInOut, delay: 0.0.ms, duration: 600.0.ms, - begin: Offset(0.0, 90.0), - end: Offset(0.0, 0.0), + begin: const Offset(0.0, 90.0), + end: const Offset(0.0, 0.0), ), ], ), @@ -105,7 +103,7 @@ class _SettingsWidgetState extends State letterSpacing: 0, ), ), - actions: [], + actions: const [], centerTitle: false, elevation: 0, ) @@ -134,14 +132,14 @@ class _SettingsWidgetState extends State ), ), child: Padding( - padding: EdgeInsetsDirectional.fromSTEB(0, 24, 0, 16), + padding: const EdgeInsetsDirectional.fromSTEB(0, 24, 0, 16), child: Column( mainAxisSize: MainAxisSize.max, crossAxisAlignment: CrossAxisAlignment.start, children: [ Padding( padding: - EdgeInsetsDirectional.fromSTEB(16, 0, 16, 12), + const EdgeInsetsDirectional.fromSTEB(16, 0, 16, 12), child: Row( mainAxisSize: MainAxisSize.max, children: [ @@ -151,7 +149,7 @@ class _SettingsWidgetState extends State size: 32, ), Padding( - padding: EdgeInsetsDirectional.fromSTEB( + padding: const EdgeInsetsDirectional.fromSTEB( 12, 0, 0, 0), child: Text( 'check.io', @@ -177,7 +175,7 @@ class _SettingsWidgetState extends State crossAxisAlignment: CrossAxisAlignment.start, children: [ Padding( - padding: EdgeInsetsDirectional.fromSTEB( + padding: const EdgeInsetsDirectional.fromSTEB( 16, 12, 0, 0), child: Text( 'Platform Navigation', @@ -190,10 +188,10 @@ class _SettingsWidgetState extends State ), ), Padding( - padding: EdgeInsetsDirectional.fromSTEB( + padding: const EdgeInsetsDirectional.fromSTEB( 16, 0, 16, 0), child: AnimatedContainer( - duration: Duration(milliseconds: 200), + duration: const Duration(milliseconds: 200), curve: Curves.easeInOut, width: double.infinity, height: 44, @@ -204,7 +202,7 @@ class _SettingsWidgetState extends State shape: BoxShape.rectangle, ), child: Padding( - padding: EdgeInsetsDirectional.fromSTEB( + padding: const EdgeInsetsDirectional.fromSTEB( 8, 0, 6, 0), child: Row( mainAxisSize: MainAxisSize.max, @@ -217,7 +215,7 @@ class _SettingsWidgetState extends State ), Padding( padding: - EdgeInsetsDirectional.fromSTEB( + const EdgeInsetsDirectional.fromSTEB( 12, 0, 0, 0), child: Text( 'Dashboard', @@ -237,10 +235,10 @@ class _SettingsWidgetState extends State ), ), Padding( - padding: EdgeInsetsDirectional.fromSTEB( + padding: const EdgeInsetsDirectional.fromSTEB( 16, 0, 16, 0), child: AnimatedContainer( - duration: Duration(milliseconds: 200), + duration: const Duration(milliseconds: 200), curve: Curves.easeInOut, width: double.infinity, height: 44, @@ -251,7 +249,7 @@ class _SettingsWidgetState extends State shape: BoxShape.rectangle, ), child: Padding( - padding: EdgeInsetsDirectional.fromSTEB( + padding: const EdgeInsetsDirectional.fromSTEB( 8, 0, 6, 0), child: Row( mainAxisSize: MainAxisSize.max, @@ -264,7 +262,7 @@ class _SettingsWidgetState extends State ), Padding( padding: - EdgeInsetsDirectional.fromSTEB( + const EdgeInsetsDirectional.fromSTEB( 12, 0, 0, 0), child: Text( 'Chats', @@ -284,10 +282,10 @@ class _SettingsWidgetState extends State ), ), Padding( - padding: EdgeInsetsDirectional.fromSTEB( + padding: const EdgeInsetsDirectional.fromSTEB( 16, 0, 16, 0), child: AnimatedContainer( - duration: Duration(milliseconds: 200), + duration: const Duration(milliseconds: 200), curve: Curves.easeInOut, width: double.infinity, height: 44, @@ -298,7 +296,7 @@ class _SettingsWidgetState extends State shape: BoxShape.rectangle, ), child: Padding( - padding: EdgeInsetsDirectional.fromSTEB( + padding: const EdgeInsetsDirectional.fromSTEB( 8, 0, 6, 0), child: Row( mainAxisSize: MainAxisSize.max, @@ -311,7 +309,7 @@ class _SettingsWidgetState extends State ), Padding( padding: - EdgeInsetsDirectional.fromSTEB( + const EdgeInsetsDirectional.fromSTEB( 12, 0, 0, 0), child: Text( 'Projects', @@ -331,10 +329,10 @@ class _SettingsWidgetState extends State ), ), Padding( - padding: EdgeInsetsDirectional.fromSTEB( + padding: const EdgeInsetsDirectional.fromSTEB( 16, 0, 16, 0), child: AnimatedContainer( - duration: Duration(milliseconds: 200), + duration: const Duration(milliseconds: 200), curve: Curves.easeInOut, width: double.infinity, height: 44, @@ -345,7 +343,7 @@ class _SettingsWidgetState extends State shape: BoxShape.rectangle, ), child: Padding( - padding: EdgeInsetsDirectional.fromSTEB( + padding: const EdgeInsetsDirectional.fromSTEB( 8, 0, 6, 0), child: Row( mainAxisSize: MainAxisSize.max, @@ -358,7 +356,7 @@ class _SettingsWidgetState extends State ), Expanded( child: Padding( - padding: EdgeInsetsDirectional + padding: const EdgeInsetsDirectional .fromSTEB(12, 0, 0, 0), child: Text( 'Recent Orders', @@ -384,9 +382,9 @@ class _SettingsWidgetState extends State ), child: Align( alignment: - AlignmentDirectional(0, 0), + const AlignmentDirectional(0, 0), child: Padding( - padding: EdgeInsetsDirectional + padding: const EdgeInsetsDirectional .fromSTEB(8, 4, 8, 4), child: Text( '12', @@ -412,7 +410,7 @@ class _SettingsWidgetState extends State ), ), Padding( - padding: EdgeInsetsDirectional.fromSTEB( + padding: const EdgeInsetsDirectional.fromSTEB( 16, 0, 0, 0), child: Text( 'Settings', @@ -425,10 +423,10 @@ class _SettingsWidgetState extends State ), ), Padding( - padding: EdgeInsetsDirectional.fromSTEB( + padding: const EdgeInsetsDirectional.fromSTEB( 16, 0, 16, 0), child: AnimatedContainer( - duration: Duration(milliseconds: 200), + duration: const Duration(milliseconds: 200), curve: Curves.easeInOut, width: double.infinity, height: 44, @@ -439,7 +437,7 @@ class _SettingsWidgetState extends State shape: BoxShape.rectangle, ), child: Padding( - padding: EdgeInsetsDirectional.fromSTEB( + padding: const EdgeInsetsDirectional.fromSTEB( 8, 0, 6, 0), child: Row( mainAxisSize: MainAxisSize.max, @@ -452,7 +450,7 @@ class _SettingsWidgetState extends State ), Padding( padding: - EdgeInsetsDirectional.fromSTEB( + const EdgeInsetsDirectional.fromSTEB( 12, 0, 0, 0), child: Text( 'Billing', @@ -472,10 +470,10 @@ class _SettingsWidgetState extends State ), ), Padding( - padding: EdgeInsetsDirectional.fromSTEB( + padding: const EdgeInsetsDirectional.fromSTEB( 16, 0, 16, 0), child: AnimatedContainer( - duration: Duration(milliseconds: 200), + duration: const Duration(milliseconds: 200), curve: Curves.easeInOut, width: double.infinity, height: 44, @@ -486,7 +484,7 @@ class _SettingsWidgetState extends State shape: BoxShape.rectangle, ), child: Padding( - padding: EdgeInsetsDirectional.fromSTEB( + padding: const EdgeInsetsDirectional.fromSTEB( 8, 0, 6, 0), child: Row( mainAxisSize: MainAxisSize.max, @@ -499,7 +497,7 @@ class _SettingsWidgetState extends State ), Padding( padding: - EdgeInsetsDirectional.fromSTEB( + const EdgeInsetsDirectional.fromSTEB( 12, 0, 0, 0), child: Text( 'Explore', @@ -518,14 +516,14 @@ class _SettingsWidgetState extends State ), ), ), - ].divide(SizedBox(height: 12)), + ].divide(const SizedBox(height: 12)), ), ), Align( - alignment: AlignmentDirectional(0, -1), + alignment: const AlignmentDirectional(0, -1), child: Padding( padding: - EdgeInsetsDirectional.fromSTEB(0, 8, 0, 16), + const EdgeInsetsDirectional.fromSTEB(0, 8, 0, 16), child: Container( width: 250, height: 50, @@ -540,7 +538,7 @@ class _SettingsWidgetState extends State ), ), child: Padding( - padding: EdgeInsets.all(4), + padding: const EdgeInsets.all(4), child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.start, @@ -604,7 +602,7 @@ class _SettingsWidgetState extends State size: 16, ), Padding( - padding: EdgeInsetsDirectional + padding: const EdgeInsetsDirectional .fromSTEB(4, 0, 0, 0), child: Text( 'Light Mode', @@ -693,7 +691,7 @@ class _SettingsWidgetState extends State size: 16, ), Padding( - padding: EdgeInsetsDirectional + padding: const EdgeInsetsDirectional .fromSTEB(4, 0, 0, 0), child: Text( 'Dark Mode', @@ -736,7 +734,7 @@ class _SettingsWidgetState extends State ), Padding( padding: - EdgeInsetsDirectional.fromSTEB(16, 12, 16, 12), + const EdgeInsetsDirectional.fromSTEB(16, 12, 16, 12), child: Row( mainAxisSize: MainAxisSize.max, children: [ @@ -753,14 +751,14 @@ class _SettingsWidgetState extends State ), ), child: Padding( - padding: EdgeInsets.all(2), + padding: const EdgeInsets.all(2), child: ClipRRect( borderRadius: BorderRadius.circular(8), child: CachedNetworkImage( fadeInDuration: - Duration(milliseconds: 500), + const Duration(milliseconds: 500), fadeOutDuration: - Duration(milliseconds: 500), + const Duration(milliseconds: 500), imageUrl: 'https://images.unsplash.com/photo-1624561172888-ac93c696e10c?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxzZWFyY2h8NjJ8fHVzZXJzfGVufDB8fDB8fA%3D%3D&auto=format&fit=crop&w=900&q=60', width: 44, @@ -772,7 +770,7 @@ class _SettingsWidgetState extends State ), Expanded( child: Padding( - padding: EdgeInsetsDirectional.fromSTEB( + padding: const EdgeInsetsDirectional.fromSTEB( 12, 0, 0, 0), child: Column( mainAxisSize: MainAxisSize.max, @@ -806,7 +804,7 @@ class _SettingsWidgetState extends State ), Padding( padding: - EdgeInsetsDirectional.fromSTEB(16, 0, 16, 0), + const EdgeInsetsDirectional.fromSTEB(16, 0, 16, 0), child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.end, @@ -826,7 +824,7 @@ class _SettingsWidgetState extends State ), Expanded( child: Align( - alignment: AlignmentDirectional(0, 0), + alignment: const AlignmentDirectional(0, 0), child: SingleChildScrollView( child: Column( mainAxisSize: MainAxisSize.max, @@ -839,13 +837,13 @@ class _SettingsWidgetState extends State Container( width: double.infinity, height: 24, - decoration: BoxDecoration(), + decoration: const BoxDecoration(), ), Align( - alignment: AlignmentDirectional(0, -1), + alignment: const AlignmentDirectional(0, -1), child: Padding( padding: - EdgeInsetsDirectional.fromSTEB(16, 16, 16, 0), + const EdgeInsetsDirectional.fromSTEB(16, 16, 16, 0), child: Wrap( spacing: 16, runSpacing: 16, @@ -858,7 +856,7 @@ class _SettingsWidgetState extends State children: [ Container( width: double.infinity, - constraints: BoxConstraints( + constraints: const BoxConstraints( maxWidth: 390, ), decoration: BoxDecoration( @@ -875,7 +873,7 @@ class _SettingsWidgetState extends State mainAxisSize: MainAxisSize.max, children: [ Padding( - padding: EdgeInsets.all(16), + padding: const EdgeInsets.all(16), child: Row( mainAxisSize: MainAxisSize.max, children: [ @@ -896,15 +894,15 @@ class _SettingsWidgetState extends State ), ), child: Padding( - padding: EdgeInsets.all(2), + padding: const EdgeInsets.all(2), child: ClipRRect( borderRadius: BorderRadius.circular( 8), child: CachedNetworkImage( - fadeInDuration: Duration( + fadeInDuration: const Duration( milliseconds: 500), - fadeOutDuration: Duration( + fadeOutDuration: const Duration( milliseconds: 500), imageUrl: 'https://images.unsplash.com/photo-1624561172888-ac93c696e10c?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxzZWFyY2h8NjJ8fHVzZXJzfGVufDB8fDB8fA%3D%3D&auto=format&fit=crop&w=900&q=60', @@ -917,7 +915,7 @@ class _SettingsWidgetState extends State ), Expanded( child: Padding( - padding: EdgeInsetsDirectional + padding: const EdgeInsetsDirectional .fromSTEB(16, 4, 0, 4), child: Column( mainAxisSize: @@ -939,7 +937,7 @@ class _SettingsWidgetState extends State ), Padding( padding: - EdgeInsetsDirectional + const EdgeInsetsDirectional .fromSTEB( 0, 4, 0, 0), child: Text( @@ -973,7 +971,7 @@ class _SettingsWidgetState extends State children: [ Expanded( child: Padding( - padding: EdgeInsetsDirectional + padding: const EdgeInsetsDirectional .fromSTEB(0, 0, 0, 12), child: Container( width: 200, @@ -987,7 +985,7 @@ class _SettingsWidgetState extends State ), child: Padding( padding: - EdgeInsetsDirectional + const EdgeInsetsDirectional .fromSTEB( 12, 12, 12, 0), child: Column( @@ -1006,7 +1004,7 @@ class _SettingsWidgetState extends State ), Padding( padding: - EdgeInsetsDirectional + const EdgeInsetsDirectional .fromSTEB(0, 8, 0, 4), child: Text( @@ -1047,7 +1045,7 @@ class _SettingsWidgetState extends State ), Expanded( child: Padding( - padding: EdgeInsetsDirectional + padding: const EdgeInsetsDirectional .fromSTEB(0, 0, 0, 12), child: Container( width: 200, @@ -1061,7 +1059,7 @@ class _SettingsWidgetState extends State ), child: Padding( padding: - EdgeInsetsDirectional + const EdgeInsetsDirectional .fromSTEB( 12, 12, 12, 0), child: Column( @@ -1081,7 +1079,7 @@ class _SettingsWidgetState extends State ), Padding( padding: - EdgeInsetsDirectional + const EdgeInsetsDirectional .fromSTEB(0, 8, 0, 4), child: Text( @@ -1127,10 +1125,10 @@ class _SettingsWidgetState extends State ), Container( width: double.infinity, - constraints: BoxConstraints( + constraints: const BoxConstraints( maxWidth: 470, ), - decoration: BoxDecoration(), + decoration: const BoxDecoration(), child: Column( mainAxisSize: MainAxisSize.max, crossAxisAlignment: @@ -1151,7 +1149,7 @@ class _SettingsWidgetState extends State ), child: Padding( padding: - EdgeInsetsDirectional.fromSTEB( + const EdgeInsetsDirectional.fromSTEB( 16, 12, 0, 12), child: Text( 'My Account Information', @@ -1168,7 +1166,7 @@ class _SettingsWidgetState extends State ), Padding( padding: - EdgeInsetsDirectional.fromSTEB( + const EdgeInsetsDirectional.fromSTEB( 0, 0, 0, 1), child: Container( width: double.infinity, @@ -1183,7 +1181,7 @@ class _SettingsWidgetState extends State color: FlutterFlowTheme.of( context) .alternate, - offset: Offset( + offset: const Offset( 0, 1, ), @@ -1192,7 +1190,7 @@ class _SettingsWidgetState extends State shape: BoxShape.rectangle, ), child: Padding( - padding: EdgeInsetsDirectional + padding: const EdgeInsetsDirectional .fromSTEB(16, 0, 16, 0), child: Column( mainAxisSize: MainAxisSize.max, @@ -1217,7 +1215,7 @@ class _SettingsWidgetState extends State Expanded( child: Align( alignment: - AlignmentDirectional( + const AlignmentDirectional( 1, 0), child: Icon( Icons @@ -1238,7 +1236,7 @@ class _SettingsWidgetState extends State ), Padding( padding: - EdgeInsetsDirectional.fromSTEB( + const EdgeInsetsDirectional.fromSTEB( 0, 0, 0, 1), child: Container( width: double.infinity, @@ -1253,7 +1251,7 @@ class _SettingsWidgetState extends State color: FlutterFlowTheme.of( context) .alternate, - offset: Offset( + offset: const Offset( 0, 1, ), @@ -1262,7 +1260,7 @@ class _SettingsWidgetState extends State shape: BoxShape.rectangle, ), child: Padding( - padding: EdgeInsetsDirectional + padding: const EdgeInsetsDirectional .fromSTEB(16, 0, 16, 0), child: Column( mainAxisSize: MainAxisSize.max, @@ -1292,7 +1290,7 @@ class _SettingsWidgetState extends State Expanded( child: Align( alignment: - AlignmentDirectional( + const AlignmentDirectional( 1, 0), child: Icon( Icons @@ -1313,7 +1311,7 @@ class _SettingsWidgetState extends State ), Padding( padding: - EdgeInsetsDirectional.fromSTEB( + const EdgeInsetsDirectional.fromSTEB( 0, 12, 0, 0), child: Container( width: double.infinity, @@ -1330,7 +1328,7 @@ class _SettingsWidgetState extends State ), ), child: Padding( - padding: EdgeInsetsDirectional + padding: const EdgeInsetsDirectional .fromSTEB(16, 12, 0, 12), child: Text( 'Support', @@ -1348,7 +1346,7 @@ class _SettingsWidgetState extends State ), Padding( padding: - EdgeInsetsDirectional.fromSTEB( + const EdgeInsetsDirectional.fromSTEB( 0, 0, 0, 1), child: InkWell( splashColor: Colors.transparent, @@ -1365,7 +1363,7 @@ class _SettingsWidgetState extends State transitionType: PageTransitionType .rightToLeft, - duration: Duration( + duration: const Duration( milliseconds: 250), ), }, @@ -1384,7 +1382,7 @@ class _SettingsWidgetState extends State color: FlutterFlowTheme.of( context) .alternate, - offset: Offset( + offset: const Offset( 0, 1, ), @@ -1393,7 +1391,7 @@ class _SettingsWidgetState extends State shape: BoxShape.rectangle, ), child: Padding( - padding: EdgeInsetsDirectional + padding: const EdgeInsetsDirectional .fromSTEB(16, 0, 16, 0), child: Column( mainAxisSize: @@ -1423,7 +1421,7 @@ class _SettingsWidgetState extends State Expanded( child: Align( alignment: - AlignmentDirectional( + const AlignmentDirectional( 1, 0), child: Icon( Icons @@ -1445,7 +1443,7 @@ class _SettingsWidgetState extends State ), Padding( padding: - EdgeInsetsDirectional.fromSTEB( + const EdgeInsetsDirectional.fromSTEB( 0, 0, 0, 1), child: InkWell( splashColor: Colors.transparent, @@ -1484,7 +1482,7 @@ class _SettingsWidgetState extends State color: FlutterFlowTheme.of( context) .alternate, - offset: Offset( + offset: const Offset( 0, 1, ), @@ -1493,7 +1491,7 @@ class _SettingsWidgetState extends State shape: BoxShape.rectangle, ), child: Padding( - padding: EdgeInsetsDirectional + padding: const EdgeInsetsDirectional .fromSTEB(16, 0, 16, 0), child: Column( mainAxisSize: @@ -1520,7 +1518,7 @@ class _SettingsWidgetState extends State Expanded( child: Align( alignment: - AlignmentDirectional( + const AlignmentDirectional( 1, 0), child: Icon( Icons @@ -1542,13 +1540,13 @@ class _SettingsWidgetState extends State ), Align( alignment: - AlignmentDirectional(0, -1), + const AlignmentDirectional(0, -1), child: Padding( - padding: EdgeInsets.all(16), + padding: const EdgeInsets.all(16), child: Container( width: double.infinity, height: 50, - constraints: BoxConstraints( + constraints: const BoxConstraints( maxWidth: 500, ), decoration: BoxDecoration( @@ -1565,7 +1563,7 @@ class _SettingsWidgetState extends State ), ), child: Padding( - padding: EdgeInsets.all(4), + padding: const EdgeInsets.all(4), child: Row( mainAxisSize: MainAxisSize.max, @@ -1652,7 +1650,7 @@ class _SettingsWidgetState extends State ), Padding( padding: - EdgeInsetsDirectional + const EdgeInsetsDirectional .fromSTEB( 4, 0, @@ -1753,7 +1751,7 @@ class _SettingsWidgetState extends State ), Padding( padding: - EdgeInsetsDirectional + const EdgeInsetsDirectional .fromSTEB( 4, 0, @@ -1794,7 +1792,7 @@ class _SettingsWidgetState extends State ), ), ), - ].addToEnd(SizedBox(height: 72)), + ].addToEnd(const SizedBox(height: 72)), ), ), ), diff --git a/mobile/app/lib/pages/SetupModel.dart b/mobile/app/lib/pages/setup_model.dart similarity index 91% rename from mobile/app/lib/pages/SetupModel.dart rename to mobile/app/lib/pages/setup_model.dart index 959f48a..5ce1f8c 100644 --- a/mobile/app/lib/pages/SetupModel.dart +++ b/mobile/app/lib/pages/setup_model.dart @@ -2,10 +2,8 @@ import '/flutter_flow/flutter_flow_animations.dart'; import '/flutter_flow/flutter_flow_theme.dart'; import '/flutter_flow/flutter_flow_util.dart'; import '/flutter_flow/flutter_flow_widgets.dart'; -import 'dart:math'; import 'setup_widget.dart' show SetupWidget; import 'package:flutter/material.dart'; -import 'package:flutter/scheduler.dart'; import 'package:flutter_animate/flutter_animate.dart'; import 'package:google_fonts/google_fonts.dart'; import 'package:provider/provider.dart'; diff --git a/mobile/app/lib/pages/SetupWidget.dart b/mobile/app/lib/pages/setup_widget.dart similarity index 84% rename from mobile/app/lib/pages/SetupWidget.dart rename to mobile/app/lib/pages/setup_widget.dart index 13d9f34..ae4feed 100644 --- a/mobile/app/lib/pages/SetupWidget.dart +++ b/mobile/app/lib/pages/setup_widget.dart @@ -2,9 +2,7 @@ import '/flutter_flow/flutter_flow_animations.dart'; import '/flutter_flow/flutter_flow_theme.dart'; import '/flutter_flow/flutter_flow_util.dart'; import '/flutter_flow/flutter_flow_widgets.dart'; -import 'dart:math'; import 'package:flutter/material.dart'; -import 'package:flutter/scheduler.dart'; import 'package:flutter_animate/flutter_animate.dart'; import 'package:google_fonts/google_fonts.dart'; import 'package:provider/provider.dart'; @@ -48,8 +46,8 @@ class _SetupWidgetState extends State curve: Curves.easeInOut, delay: 0.0.ms, duration: 400.0.ms, - begin: Offset(3.0, 3.0), - end: Offset(1.0, 1.0), + begin: const Offset(3.0, 3.0), + end: const Offset(1.0, 1.0), ), ], ), @@ -68,8 +66,8 @@ class _SetupWidgetState extends State curve: Curves.bounceOut, delay: 300.0.ms, duration: 300.0.ms, - begin: Offset(0.6, 0.6), - end: Offset(1.0, 1.0), + begin: const Offset(0.6, 0.6), + end: const Offset(1.0, 1.0), ), ], ), @@ -88,8 +86,8 @@ class _SetupWidgetState extends State curve: Curves.easeInOut, delay: 350.0.ms, duration: 400.0.ms, - begin: Offset(0.0, 30.0), - end: Offset(0.0, 0.0), + begin: const Offset(0.0, 30.0), + end: const Offset(0.0, 0.0), ), ], ), @@ -108,8 +106,8 @@ class _SetupWidgetState extends State curve: Curves.easeInOut, delay: 400.0.ms, duration: 400.0.ms, - begin: Offset(0.0, 30.0), - end: Offset(0.0, 0.0), + begin: const Offset(0.0, 30.0), + end: const Offset(0.0, 0.0), ), ], ), @@ -128,8 +126,8 @@ class _SetupWidgetState extends State curve: Curves.bounceOut, delay: 300.0.ms, duration: 600.0.ms, - begin: Offset(0.6, 0.6), - end: Offset(1.0, 1.0), + begin: const Offset(0.6, 0.6), + end: const Offset(1.0, 1.0), ), ], ), @@ -167,9 +165,9 @@ class _SetupWidgetState extends State FlutterFlowTheme.of(context).error, FlutterFlowTheme.of(context).tertiary ], - stops: [0, 0.5, 1], - begin: AlignmentDirectional(-1, -1), - end: AlignmentDirectional(1, 1), + stops: const [0, 0.5, 1], + begin: const AlignmentDirectional(-1, -1), + end: const AlignmentDirectional(1, 1), ), ), child: Container( @@ -178,12 +176,12 @@ class _SetupWidgetState extends State decoration: BoxDecoration( gradient: LinearGradient( colors: [ - Color(0x00FFFFFF), + const Color(0x00FFFFFF), FlutterFlowTheme.of(context).secondaryBackground ], - stops: [0, 1], - begin: AlignmentDirectional(0, -1), - end: AlignmentDirectional(0, 1), + stops: const [0, 1], + begin: const AlignmentDirectional(0, -1), + end: const AlignmentDirectional(0, 1), ), ), child: Column( @@ -198,7 +196,7 @@ class _SetupWidgetState extends State shape: BoxShape.circle, ), child: Padding( - padding: EdgeInsets.all(8), + padding: const EdgeInsets.all(8), child: Image.network( 'https://storage.googleapis.com/flutterflow-io-6f20.appspot.com/projects/f-f-templates-q1-23-fbcr63/assets/ax4fvwjz7awx/@4xff_badgeDesign_dark_small.png', width: 100, @@ -209,7 +207,7 @@ class _SetupWidgetState extends State ).animateOnPageLoad( animationsMap['containerOnPageLoadAnimation2']!), Padding( - padding: EdgeInsetsDirectional.fromSTEB(0, 44, 0, 0), + padding: const EdgeInsetsDirectional.fromSTEB(0, 44, 0, 0), child: Text( 'Welcome!', style: FlutterFlowTheme.of(context) @@ -222,7 +220,7 @@ class _SetupWidgetState extends State animationsMap['textOnPageLoadAnimation1']!), ), Padding( - padding: EdgeInsetsDirectional.fromSTEB(44, 8, 44, 0), + padding: const EdgeInsetsDirectional.fromSTEB(44, 8, 44, 0), child: Text( 'Thanks for joining! Access or create your account below, and get started on your journey!', textAlign: TextAlign.center, @@ -241,15 +239,15 @@ class _SetupWidgetState extends State animationsMap['containerOnPageLoadAnimation1']!), ), Padding( - padding: EdgeInsetsDirectional.fromSTEB(16, 24, 16, 44), + padding: const EdgeInsetsDirectional.fromSTEB(16, 24, 16, 44), child: Row( mainAxisSize: MainAxisSize.max, children: [ Expanded( child: Align( - alignment: AlignmentDirectional(0, 0), + alignment: const AlignmentDirectional(0, 0), child: Padding( - padding: EdgeInsetsDirectional.fromSTEB(0, 0, 8, 16), + padding: const EdgeInsetsDirectional.fromSTEB(0, 0, 8, 16), child: FFButtonWidget( onPressed: () { print('Button pressed ...'); @@ -258,9 +256,9 @@ class _SetupWidgetState extends State options: FFButtonOptions( width: 230, height: 52, - padding: EdgeInsetsDirectional.fromSTEB(0, 0, 0, 0), + padding: const EdgeInsetsDirectional.fromSTEB(0, 0, 0, 0), iconPadding: - EdgeInsetsDirectional.fromSTEB(0, 0, 0, 0), + const EdgeInsetsDirectional.fromSTEB(0, 0, 0, 0), color: FlutterFlowTheme.of(context) .secondaryBackground, textStyle: @@ -281,9 +279,9 @@ class _SetupWidgetState extends State ), Expanded( child: Align( - alignment: AlignmentDirectional(0, 0), + alignment: const AlignmentDirectional(0, 0), child: Padding( - padding: EdgeInsetsDirectional.fromSTEB(8, 0, 0, 16), + padding: const EdgeInsetsDirectional.fromSTEB(8, 0, 0, 16), child: FFButtonWidget( onPressed: () { print('Button pressed ...'); @@ -292,9 +290,9 @@ class _SetupWidgetState extends State options: FFButtonOptions( width: 230, height: 52, - padding: EdgeInsetsDirectional.fromSTEB(0, 0, 0, 0), + padding: const EdgeInsetsDirectional.fromSTEB(0, 0, 0, 0), iconPadding: - EdgeInsetsDirectional.fromSTEB(0, 0, 0, 0), + const EdgeInsetsDirectional.fromSTEB(0, 0, 0, 0), color: FlutterFlowTheme.of(context).primary, textStyle: FlutterFlowTheme.of(context) .titleSmall @@ -304,7 +302,7 @@ class _SetupWidgetState extends State letterSpacing: 0, ), elevation: 3, - borderSide: BorderSide( + borderSide: const BorderSide( color: Colors.transparent, width: 1, ), diff --git a/mobile/app/lib/pages/SupportFormModel.dart b/mobile/app/lib/pages/support_form_model.dart similarity index 96% rename from mobile/app/lib/pages/SupportFormModel.dart rename to mobile/app/lib/pages/support_form_model.dart index 246d59e..547e54b 100644 --- a/mobile/app/lib/pages/SupportFormModel.dart +++ b/mobile/app/lib/pages/support_form_model.dart @@ -3,10 +3,8 @@ import '/flutter_flow/flutter_flow_icon_button.dart'; import '/flutter_flow/flutter_flow_theme.dart'; import '/flutter_flow/flutter_flow_util.dart'; import '/flutter_flow/flutter_flow_widgets.dart'; -import 'dart:math'; import 'support_form_widget.dart' show SupportFormWidget; import 'package:flutter/material.dart'; -import 'package:flutter/scheduler.dart'; import 'package:flutter_animate/flutter_animate.dart'; import 'package:google_fonts/google_fonts.dart'; import 'package:provider/provider.dart'; diff --git a/mobile/app/lib/pages/SupportFormWidget.dart b/mobile/app/lib/pages/support_form_widget.dart similarity index 91% rename from mobile/app/lib/pages/SupportFormWidget.dart rename to mobile/app/lib/pages/support_form_widget.dart index cb6740c..960d4fe 100644 --- a/mobile/app/lib/pages/SupportFormWidget.dart +++ b/mobile/app/lib/pages/support_form_widget.dart @@ -3,9 +3,7 @@ import '/flutter_flow/flutter_flow_icon_button.dart'; import '/flutter_flow/flutter_flow_theme.dart'; import '/flutter_flow/flutter_flow_util.dart'; import '/flutter_flow/flutter_flow_widgets.dart'; -import 'dart:math'; import 'package:flutter/material.dart'; -import 'package:flutter/scheduler.dart'; import 'package:flutter_animate/flutter_animate.dart'; import 'package:google_fonts/google_fonts.dart'; import 'package:provider/provider.dart'; @@ -57,8 +55,8 @@ class _SupportFormWidgetState extends State curve: Curves.easeInOut, delay: 0.0.ms, duration: 600.0.ms, - begin: Offset(0.0, 110.0), - end: Offset(0.0, 0.0), + begin: const Offset(0.0, 110.0), + end: const Offset(0.0, 0.0), ), ], ), @@ -76,8 +74,8 @@ class _SupportFormWidgetState extends State curve: Curves.easeInOut, delay: 0.0.ms, duration: 600.0.ms, - begin: Offset(0.0, 110.0), - end: Offset(0.0, 0.0), + begin: const Offset(0.0, 110.0), + end: const Offset(0.0, 0.0), ), ], ), @@ -95,8 +93,8 @@ class _SupportFormWidgetState extends State curve: Curves.easeInOut, delay: 0.0.ms, duration: 600.0.ms, - begin: Offset(0.0, 110.0), - end: Offset(0.0, 0.0), + begin: const Offset(0.0, 110.0), + end: const Offset(0.0, 0.0), ), ], ), @@ -149,16 +147,16 @@ class _SupportFormWidgetState extends State letterSpacing: 0, ), ), - actions: [], + actions: const [], centerTitle: false, elevation: 0, ), body: SafeArea( top: true, child: Align( - alignment: AlignmentDirectional(0, 1), + alignment: const AlignmentDirectional(0, 1), child: Padding( - padding: EdgeInsetsDirectional.fromSTEB(16, 12, 16, 0), + padding: const EdgeInsetsDirectional.fromSTEB(16, 12, 16, 0), child: SingleChildScrollView( child: Column( mainAxisSize: MainAxisSize.max, @@ -172,7 +170,7 @@ class _SupportFormWidgetState extends State ), ), Padding( - padding: EdgeInsetsDirectional.fromSTEB(0, 4, 0, 0), + padding: const EdgeInsetsDirectional.fromSTEB(0, 4, 0, 0), child: Text( 'Submit a bug', style: FlutterFlowTheme.of(context) @@ -189,10 +187,10 @@ class _SupportFormWidgetState extends State Expanded( child: Padding( padding: - EdgeInsetsDirectional.fromSTEB(0, 16, 0, 0), + const EdgeInsetsDirectional.fromSTEB(0, 16, 0, 0), child: Container( width: 120, - constraints: BoxConstraints( + constraints: const BoxConstraints( maxWidth: 500, ), decoration: BoxDecoration( @@ -205,7 +203,7 @@ class _SupportFormWidgetState extends State ), ), child: Padding( - padding: EdgeInsetsDirectional.fromSTEB( + padding: const EdgeInsetsDirectional.fromSTEB( 8, 16, 8, 16), child: Column( mainAxisSize: MainAxisSize.max, @@ -219,7 +217,7 @@ class _SupportFormWidgetState extends State size: 36, ), Padding( - padding: EdgeInsetsDirectional.fromSTEB( + padding: const EdgeInsetsDirectional.fromSTEB( 0, 12, 0, 0), child: Text( 'Email Us', @@ -242,10 +240,10 @@ class _SupportFormWidgetState extends State Expanded( child: Padding( padding: - EdgeInsetsDirectional.fromSTEB(0, 16, 0, 0), + const EdgeInsetsDirectional.fromSTEB(0, 16, 0, 0), child: Container( width: 120, - constraints: BoxConstraints( + constraints: const BoxConstraints( maxWidth: 500, ), decoration: BoxDecoration( @@ -258,7 +256,7 @@ class _SupportFormWidgetState extends State ), ), child: Padding( - padding: EdgeInsetsDirectional.fromSTEB( + padding: const EdgeInsetsDirectional.fromSTEB( 8, 16, 8, 16), child: Column( mainAxisSize: MainAxisSize.max, @@ -272,7 +270,7 @@ class _SupportFormWidgetState extends State size: 36, ), Padding( - padding: EdgeInsetsDirectional.fromSTEB( + padding: const EdgeInsetsDirectional.fromSTEB( 0, 12, 0, 0), child: Text( 'Search FAQs', @@ -292,10 +290,10 @@ class _SupportFormWidgetState extends State 'containerOnPageLoadAnimation2']!), ), ), - ].divide(SizedBox(width: 12)), + ].divide(const SizedBox(width: 12)), ), Padding( - padding: EdgeInsetsDirectional.fromSTEB(0, 16, 0, 0), + padding: const EdgeInsetsDirectional.fromSTEB(0, 16, 0, 0), child: Column( mainAxisSize: MainAxisSize.max, children: [ @@ -346,7 +344,7 @@ class _SupportFormWidgetState extends State ), borderRadius: BorderRadius.circular(12), ), - contentPadding: EdgeInsetsDirectional.fromSTEB( + contentPadding: const EdgeInsetsDirectional.fromSTEB( 16, 12, 16, 12), ), style: FlutterFlowTheme.of(context) @@ -406,7 +404,7 @@ class _SupportFormWidgetState extends State ), borderRadius: BorderRadius.circular(12), ), - contentPadding: EdgeInsetsDirectional.fromSTEB( + contentPadding: const EdgeInsetsDirectional.fromSTEB( 16, 12, 16, 12), ), style: FlutterFlowTheme.of(context) @@ -467,7 +465,7 @@ class _SupportFormWidgetState extends State ), borderRadius: BorderRadius.circular(12), ), - contentPadding: EdgeInsetsDirectional.fromSTEB( + contentPadding: const EdgeInsetsDirectional.fromSTEB( 16, 24, 16, 12), ), style: FlutterFlowTheme.of(context) @@ -482,14 +480,14 @@ class _SupportFormWidgetState extends State validator: _model.textController3Validator .asValidator(context), ), - ].divide(SizedBox(height: 12)), + ].divide(const SizedBox(height: 12)), ), ), Padding( - padding: EdgeInsetsDirectional.fromSTEB(0, 16, 0, 0), + padding: const EdgeInsetsDirectional.fromSTEB(0, 16, 0, 0), child: Container( width: double.infinity, - constraints: BoxConstraints( + constraints: const BoxConstraints( maxWidth: 500, ), decoration: BoxDecoration( @@ -502,7 +500,7 @@ class _SupportFormWidgetState extends State ), ), child: Padding( - padding: EdgeInsets.all(8), + padding: const EdgeInsets.all(8), child: Row( mainAxisSize: MainAxisSize.max, children: [ @@ -513,7 +511,7 @@ class _SupportFormWidgetState extends State ), Padding( padding: - EdgeInsetsDirectional.fromSTEB(16, 0, 0, 0), + const EdgeInsetsDirectional.fromSTEB(16, 0, 0, 0), child: Text( 'Upload Screenshot', textAlign: TextAlign.center, @@ -532,22 +530,22 @@ class _SupportFormWidgetState extends State animationsMap['containerOnPageLoadAnimation3']!), ), Padding( - padding: EdgeInsetsDirectional.fromSTEB(0, 24, 0, 12), + padding: const EdgeInsetsDirectional.fromSTEB(0, 24, 0, 12), child: FFButtonWidget( onPressed: () { print('Button pressed ...'); }, text: 'Submit Ticket', - icon: Icon( + icon: const Icon( Icons.receipt_long, size: 15, ), options: FFButtonOptions( width: double.infinity, height: 48, - padding: EdgeInsets.all(0), + padding: const EdgeInsets.all(0), iconPadding: - EdgeInsetsDirectional.fromSTEB(0, 0, 0, 0), + const EdgeInsetsDirectional.fromSTEB(0, 0, 0, 0), color: FlutterFlowTheme.of(context).primary, textStyle: FlutterFlowTheme.of(context).titleSmall.override( @@ -556,7 +554,7 @@ class _SupportFormWidgetState extends State letterSpacing: 0, ), elevation: 4, - borderSide: BorderSide( + borderSide: const BorderSide( color: Colors.transparent, width: 1, ), diff --git a/mobile/app/macos/Flutter/GeneratedPluginRegistrant.swift b/mobile/app/macos/Flutter/GeneratedPluginRegistrant.swift index cccf817..2bfe7e4 100644 --- a/mobile/app/macos/Flutter/GeneratedPluginRegistrant.swift +++ b/mobile/app/macos/Flutter/GeneratedPluginRegistrant.swift @@ -5,6 +5,10 @@ import FlutterMacOS import Foundation +import path_provider_foundation +import sqflite func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { + PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin")) + SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin")) } diff --git a/mobile/app/pubspec.lock b/mobile/app/pubspec.lock index ed4160b..3f7529b 100644 --- a/mobile/app/pubspec.lock +++ b/mobile/app/pubspec.lock @@ -9,6 +9,14 @@ packages: url: "https://pub.dev" source: hosted version: "2.11.0" + auto_size_text: + dependency: "direct main" + description: + name: auto_size_text + sha256: "3f5261cd3fb5f2a9ab4e2fc3fba84fd9fcaac8821f20a1d4e71f557521b22599" + url: "https://pub.dev" + source: hosted + version: "3.0.0" boolean_selector: dependency: transitive description: @@ -17,6 +25,30 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.1" + cached_network_image: + dependency: "direct main" + description: + name: cached_network_image + sha256: "28ea9690a8207179c319965c13cd8df184d5ee721ae2ce60f398ced1219cea1f" + url: "https://pub.dev" + source: hosted + version: "3.3.1" + cached_network_image_platform_interface: + dependency: transitive + description: + name: cached_network_image_platform_interface + sha256: "9e90e78ae72caa874a323d78fa6301b3fb8fa7ea76a8f96dc5b5bf79f283bf2f" + url: "https://pub.dev" + source: hosted + version: "4.0.0" + cached_network_image_web: + dependency: transitive + description: + name: cached_network_image_web + sha256: "205d6a9f1862de34b93184f22b9d2d94586b2f05c581d546695e3d8f6a805cd7" + url: "https://pub.dev" + source: hosted + version: "1.2.0" characters: dependency: transitive description: @@ -41,6 +73,14 @@ packages: url: "https://pub.dev" source: hosted version: "1.18.0" + crypto: + dependency: transitive + description: + name: crypto + sha256: ff625774173754681d66daaf4a448684fb04b78f902da9cb3d308c19cc5e8bab + url: "https://pub.dev" + source: hosted + version: "3.0.3" cupertino_icons: dependency: "direct main" description: @@ -49,6 +89,14 @@ packages: url: "https://pub.dev" source: hosted version: "1.0.8" + easy_debounce: + dependency: "direct main" + description: + name: easy_debounce + sha256: f082609cfb8f37defb9e37fc28bc978c6712dedf08d4c5a26f820fa10165a236 + url: "https://pub.dev" + source: hosted + version: "2.0.3" fake_async: dependency: transitive description: @@ -57,11 +105,51 @@ packages: url: "https://pub.dev" source: hosted version: "1.3.1" + ffi: + dependency: transitive + description: + name: ffi + sha256: "493f37e7df1804778ff3a53bd691d8692ddf69702cf4c1c1096a2e41b4779e21" + url: "https://pub.dev" + source: hosted + version: "2.1.2" + file: + dependency: transitive + description: + name: file + sha256: "5fc22d7c25582e38ad9a8515372cd9a93834027aacf1801cf01164dac0ffa08c" + url: "https://pub.dev" + source: hosted + version: "7.0.0" + fixnum: + dependency: transitive + description: + name: fixnum + sha256: "25517a4deb0c03aa0f32fd12db525856438902d9c16536311e76cdc57b31d7d1" + url: "https://pub.dev" + source: hosted + version: "1.1.0" flutter: dependency: "direct main" description: flutter source: sdk version: "0.0.0" + flutter_animate: + dependency: "direct main" + description: + name: flutter_animate + sha256: "7c8a6594a9252dad30cc2ef16e33270b6248c4dedc3b3d06c86c4f3f4dc05ae5" + url: "https://pub.dev" + source: hosted + version: "4.5.0" + flutter_cache_manager: + dependency: transitive + description: + name: flutter_cache_manager + sha256: "395d6b7831f21f3b989ebedbb785545932adb9afe2622c1ffacf7f4b53a7e544" + url: "https://pub.dev" + source: hosted + version: "3.3.2" flutter_lints: dependency: "direct dev" description: @@ -70,11 +158,43 @@ packages: url: "https://pub.dev" source: hosted version: "3.0.2" + flutter_shaders: + dependency: transitive + description: + name: flutter_shaders + sha256: "02750b545c01ff4d8e9bbe8f27a7731aa3778402506c67daa1de7f5fc3f4befe" + url: "https://pub.dev" + source: hosted + version: "0.1.2" flutter_test: dependency: "direct dev" description: flutter source: sdk version: "0.0.0" + google_fonts: + dependency: "direct main" + description: + name: google_fonts + sha256: b1ac0fe2832c9cc95e5e88b57d627c5e68c223b9657f4b96e1487aa9098c7b82 + url: "https://pub.dev" + source: hosted + version: "6.2.1" + http: + dependency: transitive + description: + name: http + sha256: "761a297c042deedc1ffbb156d6e2af13886bb305c2a343a4d972504cd67dd938" + url: "https://pub.dev" + source: hosted + version: "1.2.1" + http_parser: + dependency: transitive + description: + name: http_parser + sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b" + url: "https://pub.dev" + source: hosted + version: "4.0.2" leak_tracker: dependency: transitive description: @@ -131,6 +251,22 @@ packages: url: "https://pub.dev" source: hosted version: "1.12.0" + nested: + dependency: transitive + description: + name: nested + sha256: "03bac4c528c64c95c722ec99280375a6f2fc708eec17c7b3f07253b626cd2a20" + url: "https://pub.dev" + source: hosted + version: "1.0.0" + octo_image: + dependency: transitive + description: + name: octo_image + sha256: "45b40f99622f11901238e18d48f5f12ea36426d8eced9f4cbf58479c7aa2430d" + url: "https://pub.dev" + source: hosted + version: "2.0.0" path: dependency: transitive description: @@ -139,6 +275,86 @@ packages: url: "https://pub.dev" source: hosted version: "1.9.0" + path_provider: + dependency: transitive + description: + name: path_provider + sha256: c9e7d3a4cd1410877472158bee69963a4579f78b68c65a2b7d40d1a7a88bb161 + url: "https://pub.dev" + source: hosted + version: "2.1.3" + path_provider_android: + dependency: transitive + description: + name: path_provider_android + sha256: bca87b0165ffd7cdb9cad8edd22d18d2201e886d9a9f19b4fb3452ea7df3a72a + url: "https://pub.dev" + source: hosted + version: "2.2.6" + path_provider_foundation: + dependency: transitive + description: + name: path_provider_foundation + sha256: f234384a3fdd67f989b4d54a5d73ca2a6c422fa55ae694381ae0f4375cd1ea16 + url: "https://pub.dev" + source: hosted + version: "2.4.0" + path_provider_linux: + dependency: transitive + description: + name: path_provider_linux + sha256: f7a1fe3a634fe7734c8d3f2766ad746ae2a2884abe22e241a8b301bf5cac3279 + url: "https://pub.dev" + source: hosted + version: "2.2.1" + path_provider_platform_interface: + dependency: transitive + description: + name: path_provider_platform_interface + sha256: "88f5779f72ba699763fa3a3b06aa4bf6de76c8e5de842cf6f29e2e06476c2334" + url: "https://pub.dev" + source: hosted + version: "2.1.2" + path_provider_windows: + dependency: transitive + description: + name: path_provider_windows + sha256: "8bc9f22eee8690981c22aa7fc602f5c85b497a6fb2ceb35ee5a5e5ed85ad8170" + url: "https://pub.dev" + source: hosted + version: "2.2.1" + platform: + dependency: transitive + description: + name: platform + sha256: "9b71283fc13df574056616011fb138fd3b793ea47cc509c189a6c3fa5f8a1a65" + url: "https://pub.dev" + source: hosted + version: "3.1.5" + plugin_platform_interface: + dependency: transitive + description: + name: plugin_platform_interface + sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02" + url: "https://pub.dev" + source: hosted + version: "2.1.8" + provider: + dependency: "direct main" + description: + name: provider + sha256: c8a055ee5ce3fd98d6fc872478b03823ffdb448699c6ebdbbc71d59b596fd48c + url: "https://pub.dev" + source: hosted + version: "6.1.2" + rxdart: + dependency: transitive + description: + name: rxdart + sha256: "0c7c0cedd93788d996e33041ffecda924cc54389199cde4e6a34b440f50044cb" + url: "https://pub.dev" + source: hosted + version: "0.27.7" sky_engine: dependency: transitive description: flutter @@ -152,6 +368,30 @@ packages: url: "https://pub.dev" source: hosted version: "1.10.0" + sprintf: + dependency: transitive + description: + name: sprintf + sha256: "1fc9ffe69d4df602376b52949af107d8f5703b77cda567c4d7d86a0693120f23" + url: "https://pub.dev" + source: hosted + version: "7.0.0" + sqflite: + dependency: transitive + description: + name: sqflite + sha256: a43e5a27235518c03ca238e7b4732cf35eabe863a369ceba6cbefa537a66f16d + url: "https://pub.dev" + source: hosted + version: "2.3.3+1" + sqflite_common: + dependency: transitive + description: + name: sqflite_common + sha256: "3da423ce7baf868be70e2c0976c28a1bb2f73644268b7ffa7d2e08eab71f16a4" + url: "https://pub.dev" + source: hosted + version: "2.5.4" stack_trace: dependency: transitive description: @@ -176,6 +416,14 @@ packages: url: "https://pub.dev" source: hosted version: "1.2.0" + synchronized: + dependency: transitive + description: + name: synchronized + sha256: "539ef412b170d65ecdafd780f924e5be3f60032a1128df156adad6c5b373d558" + url: "https://pub.dev" + source: hosted + version: "3.1.0+1" term_glyph: dependency: transitive description: @@ -192,6 +440,22 @@ packages: url: "https://pub.dev" source: hosted version: "0.7.0" + typed_data: + dependency: transitive + description: + name: typed_data + sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c + url: "https://pub.dev" + source: hosted + version: "1.3.2" + uuid: + dependency: transitive + description: + name: uuid + sha256: "814e9e88f21a176ae1359149021870e87f7cddaf633ab678a5d2b0bff7fd1ba8" + url: "https://pub.dev" + source: hosted + version: "4.4.0" vector_math: dependency: transitive description: @@ -208,6 +472,30 @@ packages: url: "https://pub.dev" source: hosted version: "14.2.1" + web: + dependency: transitive + description: + name: web + sha256: "97da13628db363c635202ad97068d47c5b8aa555808e7a9411963c533b449b27" + url: "https://pub.dev" + source: hosted + version: "0.5.1" + win32: + dependency: transitive + description: + name: win32 + sha256: a79dbe579cb51ecd6d30b17e0cae4e0ea15e2c0e66f69ad4198f22a6789e94f4 + url: "https://pub.dev" + source: hosted + version: "5.5.1" + xdg_directories: + dependency: transitive + description: + name: xdg_directories + sha256: faea9dee56b520b55a566385b84f2e8de55e7496104adada9962e0bd11bcff1d + url: "https://pub.dev" + source: hosted + version: "1.0.4" sdks: dart: ">=3.4.3 <4.0.0" - flutter: ">=3.18.0-18.0.pre.54" + flutter: ">=3.22.0" diff --git a/mobile/app/pubspec.yaml b/mobile/app/pubspec.yaml index 11f607d..6dc73af 100644 --- a/mobile/app/pubspec.yaml +++ b/mobile/app/pubspec.yaml @@ -36,6 +36,12 @@ dependencies: # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^1.0.6 + auto_size_text: any + cached_network_image: any + flutter_animate: any + google_fonts: any + provider: any + easy_debounce: any dev_dependencies: flutter_test: sdk: flutter