refactoring theme updates (removing flutterflow theme).
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
import '/components/conversation_details_overlay/conversation_details_overlay_widget.dart';
|
||||
import '/components/conversation_thread/conversation_thread_widget.dart';
|
||||
import '/components/model_item/model_item_widget.dart';
|
||||
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 'package:flutterflow_ui/flutterflow_ui.dart';
|
||||
import 'conversation_widget.dart' show ConversationWidget;
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:google_fonts/google_fonts.dart';
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
import '/components/conversation_details_overlay/conversation_details_overlay_widget.dart';
|
||||
import '/components/conversation_thread/conversation_thread_widget.dart';
|
||||
import '/components/model_item/model_item_widget.dart';
|
||||
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 'package:flutterflow_ui/flutterflow_ui.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:google_fonts/google_fonts.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
|
||||
import '/theme.dart';
|
||||
|
||||
import 'conversation_model.dart';
|
||||
export 'conversation_model.dart';
|
||||
|
||||
@@ -45,9 +44,9 @@ class _ConversationWidgetState extends State<ConversationWidget> {
|
||||
: FocusScope.of(context).unfocus(),
|
||||
child: Scaffold(
|
||||
key: scaffoldKey,
|
||||
backgroundColor: FlutterFlowTheme.of(context).secondaryBackground,
|
||||
backgroundColor: myAppTheme.of(context).secondaryBackground,
|
||||
appBar: AppBar(
|
||||
backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
|
||||
backgroundColor: myAppTheme.of(context).primaryBackground,
|
||||
automaticallyImplyLeading: false,
|
||||
leading: FlutterFlowIconButton(
|
||||
borderColor: Colors.transparent,
|
||||
@@ -56,7 +55,7 @@ class _ConversationWidgetState extends State<ConversationWidget> {
|
||||
buttonSize: 60,
|
||||
icon: Icon(
|
||||
Icons.arrow_back_rounded,
|
||||
color: FlutterFlowTheme.of(context).primaryText,
|
||||
color: AppTheme.primaryText,
|
||||
size: 30,
|
||||
),
|
||||
onPressed: () async {
|
||||
@@ -81,14 +80,14 @@ class _ConversationWidgetState extends State<ConversationWidget> {
|
||||
Padding(
|
||||
padding: const EdgeInsetsDirectional.fromSTEB(0, 8, 16, 8),
|
||||
child: FlutterFlowIconButton(
|
||||
borderColor: FlutterFlowTheme.of(context).alternate,
|
||||
borderColor: AppTheme.alternate,
|
||||
borderRadius: 12,
|
||||
borderWidth: 2,
|
||||
buttonSize: 40,
|
||||
fillColor: FlutterFlowTheme.of(context).primaryBackground,
|
||||
fillColor: AppTheme.primaryBackground,
|
||||
icon: Icon(
|
||||
Icons.more_vert,
|
||||
color: FlutterFlowTheme.of(context).primaryText,
|
||||
color: AppTheme.primaryText,
|
||||
size: 24,
|
||||
),
|
||||
onPressed: () async {
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
import '/components/conversation_options/conversation_options_widget.dart';
|
||||
import '/flutter_flow/flutter_flow_theme.dart';
|
||||
import '/flutter_flow/flutter_flow_util.dart';
|
||||
import '/flutter_flow/flutter_flow_widgets.dart';
|
||||
import 'package:flutterflow_ui/flutterflow_ui.dart';
|
||||
import 'conversations_list_widget.dart' show ConversationsListWidget;
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:google_fonts/google_fonts.dart';
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
import '/components/conversation_options/conversation_options_widget.dart';
|
||||
import '/flutter_flow/flutter_flow_theme.dart';
|
||||
import '/flutter_flow/flutter_flow_util.dart';
|
||||
import '/flutter_flow/flutter_flow_widgets.dart';
|
||||
import 'package:flutterflow_ui/flutterflow_ui.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:google_fonts/google_fonts.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
@@ -43,7 +41,7 @@ class _ConversationsListWidgetState extends State<ConversationsListWidget> {
|
||||
: FocusScope.of(context).unfocus(),
|
||||
child: Scaffold(
|
||||
key: scaffoldKey,
|
||||
backgroundColor: FlutterFlowTheme.of(context).secondaryBackground,
|
||||
backgroundColor: AppTheme.secondaryBackground,
|
||||
floatingActionButton: InkWell(
|
||||
splashColor: Colors.transparent,
|
||||
focusColor: Colors.transparent,
|
||||
@@ -74,21 +72,21 @@ class _ConversationsListWidgetState extends State<ConversationsListWidget> {
|
||||
onPressed: () async {
|
||||
context.pushNamed('Conversation');
|
||||
},
|
||||
backgroundColor: FlutterFlowTheme.of(context).primary,
|
||||
backgroundColor: AppTheme.primary,
|
||||
elevation: 8,
|
||||
child: Icon(
|
||||
Icons.add,
|
||||
color: FlutterFlowTheme.of(context).info,
|
||||
color: AppTheme.info,
|
||||
size: 24,
|
||||
),
|
||||
),
|
||||
),
|
||||
appBar: AppBar(
|
||||
backgroundColor: FlutterFlowTheme.of(context).secondaryBackground,
|
||||
backgroundColor: AppTheme.secondaryBackground,
|
||||
automaticallyImplyLeading: false,
|
||||
title: Text(
|
||||
'My Chats',
|
||||
style: FlutterFlowTheme.of(context).headlineLarge.override(
|
||||
style: AppTheme.headlineLarge.override(
|
||||
fontFamily: 'Outfit',
|
||||
letterSpacing: 0,
|
||||
),
|
||||
@@ -107,7 +105,7 @@ class _ConversationsListWidgetState extends State<ConversationsListWidget> {
|
||||
padding: const EdgeInsetsDirectional.fromSTEB(16, 0, 0, 0),
|
||||
child: Text(
|
||||
'AI conversations',
|
||||
style: FlutterFlowTheme.of(context).labelMedium.override(
|
||||
style: AppTheme.labelMedium.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
letterSpacing: 0,
|
||||
),
|
||||
@@ -140,14 +138,14 @@ class _ConversationsListWidgetState extends State<ConversationsListWidget> {
|
||||
width: 100,
|
||||
height: 100,
|
||||
decoration: BoxDecoration(
|
||||
color: FlutterFlowTheme.of(context)
|
||||
color: AppTheme
|
||||
.secondaryBackground,
|
||||
),
|
||||
child: Align(
|
||||
alignment: const AlignmentDirectional(0, 0),
|
||||
child: Icon(
|
||||
Icons.settings_outlined,
|
||||
color: FlutterFlowTheme.of(context)
|
||||
color: AppTheme
|
||||
.secondaryText,
|
||||
size: 48,
|
||||
),
|
||||
@@ -164,7 +162,7 @@ class _ConversationsListWidgetState extends State<ConversationsListWidget> {
|
||||
MediaQuery.sizeOf(context).width,
|
||||
),
|
||||
decoration: BoxDecoration(
|
||||
color: FlutterFlowTheme.of(context)
|
||||
color: AppTheme
|
||||
.secondaryBackground,
|
||||
shape: BoxShape.rectangle,
|
||||
),
|
||||
@@ -184,7 +182,7 @@ class _ConversationsListWidgetState extends State<ConversationsListWidget> {
|
||||
Text(
|
||||
'Hello World',
|
||||
style:
|
||||
FlutterFlowTheme.of(context)
|
||||
AppTheme
|
||||
.headlineLarge
|
||||
.override(
|
||||
fontFamily: 'Outfit',
|
||||
@@ -203,7 +201,7 @@ class _ConversationsListWidgetState extends State<ConversationsListWidget> {
|
||||
Expanded(
|
||||
child: Text(
|
||||
'Hello World',
|
||||
style: FlutterFlowTheme.of(
|
||||
style: FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.bodyMedium
|
||||
.override(
|
||||
@@ -225,12 +223,12 @@ class _ConversationsListWidgetState extends State<ConversationsListWidget> {
|
||||
width: 100,
|
||||
height: 100,
|
||||
decoration: BoxDecoration(
|
||||
color: FlutterFlowTheme.of(context)
|
||||
color: AppTheme
|
||||
.secondaryBackground,
|
||||
),
|
||||
child: Icon(
|
||||
Icons.chevron_right_rounded,
|
||||
color: FlutterFlowTheme.of(context)
|
||||
color: AppTheme
|
||||
.secondaryText,
|
||||
size: 48,
|
||||
),
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
import '/flutter_flow/flutter_flow_animations.dart';
|
||||
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 'package:flutterflow_ui/flutterflow_ui.dart';
|
||||
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';
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
import '/flutter_flow/flutter_flow_animations.dart';
|
||||
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 'package:flutterflow_ui/flutterflow_ui.dart';
|
||||
import 'package:auto_size_text/auto_size_text.dart';
|
||||
import 'package:cached_network_image/cached_network_image.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
@@ -106,9 +102,9 @@ class _ImageDetailsWidgetState extends State<ImageDetailsWidget>
|
||||
: FocusScope.of(context).unfocus(),
|
||||
child: Scaffold(
|
||||
key: scaffoldKey,
|
||||
backgroundColor: FlutterFlowTheme.of(context).secondaryBackground,
|
||||
backgroundColor: AppTheme.secondaryBackground,
|
||||
appBar: AppBar(
|
||||
backgroundColor: FlutterFlowTheme.of(context).secondaryBackground,
|
||||
backgroundColor: AppTheme.secondaryBackground,
|
||||
automaticallyImplyLeading: false,
|
||||
leading: FlutterFlowIconButton(
|
||||
borderColor: Colors.transparent,
|
||||
@@ -117,7 +113,7 @@ class _ImageDetailsWidgetState extends State<ImageDetailsWidget>
|
||||
buttonSize: 60,
|
||||
icon: Icon(
|
||||
Icons.arrow_back_rounded,
|
||||
color: FlutterFlowTheme.of(context).primaryText,
|
||||
color: AppTheme.primaryText,
|
||||
size: 30,
|
||||
),
|
||||
onPressed: () async {
|
||||
@@ -167,11 +163,11 @@ class _ImageDetailsWidgetState extends State<ImageDetailsWidget>
|
||||
width: 36,
|
||||
height: 36,
|
||||
decoration: BoxDecoration(
|
||||
color: FlutterFlowTheme.of(context).accent1,
|
||||
color: AppTheme.accent1,
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
shape: BoxShape.rectangle,
|
||||
border: Border.all(
|
||||
color: FlutterFlowTheme.of(context).primary,
|
||||
color: AppTheme.primary,
|
||||
width: 2,
|
||||
),
|
||||
),
|
||||
@@ -207,7 +203,7 @@ class _ImageDetailsWidgetState extends State<ImageDetailsWidget>
|
||||
child: AutoSizeText(
|
||||
'Thanks so much! We really do appreciate it!',
|
||||
textAlign: TextAlign.start,
|
||||
style: FlutterFlowTheme.of(context)
|
||||
style: AppTheme
|
||||
.bodyMedium
|
||||
.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
@@ -220,7 +216,7 @@ class _ImageDetailsWidgetState extends State<ImageDetailsWidget>
|
||||
0, 4, 0, 0),
|
||||
child: Text(
|
||||
'Just Now',
|
||||
style: FlutterFlowTheme.of(context)
|
||||
style: AppTheme
|
||||
.labelSmall
|
||||
.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
@@ -237,7 +233,7 @@ class _ImageDetailsWidgetState extends State<ImageDetailsWidget>
|
||||
child: AutoSizeText(
|
||||
'Thanks so much! We really do appreciate it!',
|
||||
textAlign: TextAlign.start,
|
||||
style: FlutterFlowTheme.of(context)
|
||||
style: AppTheme
|
||||
.labelLarge
|
||||
.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
import '/components/popup/popup_widget.dart';
|
||||
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 'package:flutterflow_ui/flutterflow_ui.dart';
|
||||
import 'settings_widget.dart' show SettingsWidget;
|
||||
import 'package:cached_network_image/cached_network_image.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
import '/components/popup/popup_widget.dart';
|
||||
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 'package:flutterflow_ui/flutterflow_ui.dart';
|
||||
import 'package:cached_network_image/cached_network_image.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_animate/flutter_animate.dart';
|
||||
@@ -91,14 +88,14 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
key: scaffoldKey,
|
||||
backgroundColor: FlutterFlowTheme.of(context).secondaryBackground,
|
||||
backgroundColor: AppTheme.secondaryBackground,
|
||||
appBar: MediaQuery.sizeOf(context).width <= 991.0
|
||||
? AppBar(
|
||||
backgroundColor: FlutterFlowTheme.of(context).secondaryBackground,
|
||||
backgroundColor: AppTheme.secondaryBackground,
|
||||
automaticallyImplyLeading: false,
|
||||
title: Text(
|
||||
'My Profile',
|
||||
style: FlutterFlowTheme.of(context).headlineMedium.override(
|
||||
style: AppTheme.headlineMedium.override(
|
||||
fontFamily: 'Outfit',
|
||||
letterSpacing: 0,
|
||||
),
|
||||
@@ -124,10 +121,10 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
width: 270,
|
||||
height: double.infinity,
|
||||
decoration: BoxDecoration(
|
||||
color: FlutterFlowTheme.of(context).primaryBackground,
|
||||
color: AppTheme.primaryBackground,
|
||||
borderRadius: BorderRadius.circular(0),
|
||||
border: Border.all(
|
||||
color: FlutterFlowTheme.of(context).alternate,
|
||||
color: AppTheme.alternate,
|
||||
width: 1,
|
||||
),
|
||||
),
|
||||
@@ -145,7 +142,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
children: [
|
||||
Icon(
|
||||
Icons.add_task_rounded,
|
||||
color: FlutterFlowTheme.of(context).primary,
|
||||
color: AppTheme.primary,
|
||||
size: 32,
|
||||
),
|
||||
Padding(
|
||||
@@ -153,7 +150,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
12, 0, 0, 0),
|
||||
child: Text(
|
||||
'check.io',
|
||||
style: FlutterFlowTheme.of(context)
|
||||
style: AppTheme
|
||||
.headlineMedium
|
||||
.override(
|
||||
fontFamily: 'Outfit',
|
||||
@@ -167,7 +164,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
Divider(
|
||||
height: 12,
|
||||
thickness: 2,
|
||||
color: FlutterFlowTheme.of(context).alternate,
|
||||
color: AppTheme.alternate,
|
||||
),
|
||||
Expanded(
|
||||
child: Column(
|
||||
@@ -179,7 +176,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
16, 12, 0, 0),
|
||||
child: Text(
|
||||
'Platform Navigation',
|
||||
style: FlutterFlowTheme.of(context)
|
||||
style: AppTheme
|
||||
.labelMedium
|
||||
.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
@@ -196,7 +193,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
width: double.infinity,
|
||||
height: 44,
|
||||
decoration: BoxDecoration(
|
||||
color: FlutterFlowTheme.of(context)
|
||||
color: AppTheme
|
||||
.primaryBackground,
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
shape: BoxShape.rectangle,
|
||||
@@ -209,7 +206,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
children: [
|
||||
Icon(
|
||||
Icons.space_dashboard,
|
||||
color: FlutterFlowTheme.of(context)
|
||||
color: AppTheme
|
||||
.primaryText,
|
||||
size: 24,
|
||||
),
|
||||
@@ -220,7 +217,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
child: Text(
|
||||
'Dashboard',
|
||||
style:
|
||||
FlutterFlowTheme.of(context)
|
||||
AppTheme
|
||||
.bodyMedium
|
||||
.override(
|
||||
fontFamily:
|
||||
@@ -243,7 +240,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
width: double.infinity,
|
||||
height: 44,
|
||||
decoration: BoxDecoration(
|
||||
color: FlutterFlowTheme.of(context)
|
||||
color: AppTheme
|
||||
.primaryBackground,
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
shape: BoxShape.rectangle,
|
||||
@@ -256,7 +253,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
children: [
|
||||
Icon(
|
||||
Icons.forum_rounded,
|
||||
color: FlutterFlowTheme.of(context)
|
||||
color: AppTheme
|
||||
.primaryText,
|
||||
size: 24,
|
||||
),
|
||||
@@ -267,7 +264,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
child: Text(
|
||||
'Chats',
|
||||
style:
|
||||
FlutterFlowTheme.of(context)
|
||||
AppTheme
|
||||
.bodyMedium
|
||||
.override(
|
||||
fontFamily:
|
||||
@@ -290,7 +287,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
width: double.infinity,
|
||||
height: 44,
|
||||
decoration: BoxDecoration(
|
||||
color: FlutterFlowTheme.of(context)
|
||||
color: AppTheme
|
||||
.primaryBackground,
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
shape: BoxShape.rectangle,
|
||||
@@ -303,7 +300,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
children: [
|
||||
Icon(
|
||||
Icons.work,
|
||||
color: FlutterFlowTheme.of(context)
|
||||
color: AppTheme
|
||||
.primaryText,
|
||||
size: 24,
|
||||
),
|
||||
@@ -314,7 +311,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
child: Text(
|
||||
'Projects',
|
||||
style:
|
||||
FlutterFlowTheme.of(context)
|
||||
AppTheme
|
||||
.bodyMedium
|
||||
.override(
|
||||
fontFamily:
|
||||
@@ -338,7 +335,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
height: 44,
|
||||
decoration: BoxDecoration(
|
||||
color:
|
||||
FlutterFlowTheme.of(context).accent1,
|
||||
AppTheme.accent1,
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
shape: BoxShape.rectangle,
|
||||
),
|
||||
@@ -350,7 +347,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
children: [
|
||||
Icon(
|
||||
Icons.receipt_rounded,
|
||||
color: FlutterFlowTheme.of(context)
|
||||
color: AppTheme
|
||||
.primary,
|
||||
size: 24,
|
||||
),
|
||||
@@ -361,7 +358,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
child: Text(
|
||||
'Recent Orders',
|
||||
style:
|
||||
FlutterFlowTheme.of(context)
|
||||
AppTheme
|
||||
.bodyMedium
|
||||
.override(
|
||||
fontFamily:
|
||||
@@ -375,7 +372,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
height: 32,
|
||||
decoration: BoxDecoration(
|
||||
color:
|
||||
FlutterFlowTheme.of(context)
|
||||
AppTheme
|
||||
.primary,
|
||||
borderRadius:
|
||||
BorderRadius.circular(8),
|
||||
@@ -388,14 +385,14 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
.fromSTEB(8, 4, 8, 4),
|
||||
child: Text(
|
||||
'12',
|
||||
style: FlutterFlowTheme.of(
|
||||
style: FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.bodyMedium
|
||||
.override(
|
||||
fontFamily:
|
||||
'Readex Pro',
|
||||
color:
|
||||
FlutterFlowTheme.of(
|
||||
FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.info,
|
||||
letterSpacing: 0,
|
||||
@@ -414,7 +411,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
16, 0, 0, 0),
|
||||
child: Text(
|
||||
'Settings',
|
||||
style: FlutterFlowTheme.of(context)
|
||||
style: AppTheme
|
||||
.labelMedium
|
||||
.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
@@ -431,7 +428,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
width: double.infinity,
|
||||
height: 44,
|
||||
decoration: BoxDecoration(
|
||||
color: FlutterFlowTheme.of(context)
|
||||
color: AppTheme
|
||||
.primaryBackground,
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
shape: BoxShape.rectangle,
|
||||
@@ -444,7 +441,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
children: [
|
||||
Icon(
|
||||
Icons.attach_money_rounded,
|
||||
color: FlutterFlowTheme.of(context)
|
||||
color: AppTheme
|
||||
.primaryText,
|
||||
size: 24,
|
||||
),
|
||||
@@ -455,7 +452,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
child: Text(
|
||||
'Billing',
|
||||
style:
|
||||
FlutterFlowTheme.of(context)
|
||||
AppTheme
|
||||
.bodyMedium
|
||||
.override(
|
||||
fontFamily:
|
||||
@@ -478,7 +475,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
width: double.infinity,
|
||||
height: 44,
|
||||
decoration: BoxDecoration(
|
||||
color: FlutterFlowTheme.of(context)
|
||||
color: AppTheme
|
||||
.primaryBackground,
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
shape: BoxShape.rectangle,
|
||||
@@ -491,7 +488,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
children: [
|
||||
Icon(
|
||||
Icons.wifi_tethering_rounded,
|
||||
color: FlutterFlowTheme.of(context)
|
||||
color: AppTheme
|
||||
.primaryText,
|
||||
size: 24,
|
||||
),
|
||||
@@ -502,7 +499,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
child: Text(
|
||||
'Explore',
|
||||
style:
|
||||
FlutterFlowTheme.of(context)
|
||||
AppTheme
|
||||
.bodyMedium
|
||||
.override(
|
||||
fontFamily:
|
||||
@@ -528,12 +525,12 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
width: 250,
|
||||
height: 50,
|
||||
decoration: BoxDecoration(
|
||||
color: FlutterFlowTheme.of(context)
|
||||
color: AppTheme
|
||||
.primaryBackground,
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
border: Border.all(
|
||||
color:
|
||||
FlutterFlowTheme.of(context).alternate,
|
||||
AppTheme.alternate,
|
||||
width: 1,
|
||||
),
|
||||
),
|
||||
@@ -551,33 +548,33 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
highlightColor: Colors.transparent,
|
||||
onTap: () async {
|
||||
setDarkModeSetting(
|
||||
context, ThemeMode.light);
|
||||
context, AppThemeMode.light);
|
||||
},
|
||||
child: Container(
|
||||
width: 115,
|
||||
height: 100,
|
||||
decoration: BoxDecoration(
|
||||
color: Theme.of(context)
|
||||
color: AppTheme.of(context)
|
||||
.brightness ==
|
||||
Brightness.light
|
||||
? FlutterFlowTheme.of(context)
|
||||
? AppTheme
|
||||
.secondaryBackground
|
||||
: FlutterFlowTheme.of(context)
|
||||
: AppTheme
|
||||
.primaryBackground,
|
||||
borderRadius:
|
||||
BorderRadius.circular(10),
|
||||
border: Border.all(
|
||||
color: valueOrDefault<Color>(
|
||||
Theme.of(context)
|
||||
AppTheme.of(context)
|
||||
.brightness ==
|
||||
Brightness.light
|
||||
? FlutterFlowTheme.of(
|
||||
? FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.alternate
|
||||
: FlutterFlowTheme.of(
|
||||
: FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.primaryBackground,
|
||||
FlutterFlowTheme.of(context)
|
||||
AppTheme
|
||||
.alternate,
|
||||
),
|
||||
width: 1,
|
||||
@@ -590,13 +587,13 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
children: [
|
||||
Icon(
|
||||
Icons.wb_sunny_rounded,
|
||||
color: Theme.of(context)
|
||||
color: AppTheme.of(context)
|
||||
.brightness ==
|
||||
Brightness.light
|
||||
? FlutterFlowTheme.of(
|
||||
? FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.primaryText
|
||||
: FlutterFlowTheme.of(
|
||||
: FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.secondaryText,
|
||||
size: 16,
|
||||
@@ -607,20 +604,20 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
child: Text(
|
||||
'Light Mode',
|
||||
style:
|
||||
FlutterFlowTheme.of(
|
||||
FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.bodyMedium
|
||||
.override(
|
||||
fontFamily:
|
||||
'Readex Pro',
|
||||
color: Theme.of(context)
|
||||
color: AppTheme.of(context)
|
||||
.brightness ==
|
||||
Brightness
|
||||
.light
|
||||
? FlutterFlowTheme.of(
|
||||
? FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.primaryText
|
||||
: FlutterFlowTheme.of(
|
||||
: FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.secondaryText,
|
||||
letterSpacing: 0,
|
||||
@@ -640,33 +637,33 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
highlightColor: Colors.transparent,
|
||||
onTap: () async {
|
||||
setDarkModeSetting(
|
||||
context, ThemeMode.dark);
|
||||
context, AppThemeMode.dark);
|
||||
},
|
||||
child: Container(
|
||||
width: 115,
|
||||
height: 100,
|
||||
decoration: BoxDecoration(
|
||||
color: Theme.of(context)
|
||||
color: AppTheme.of(context)
|
||||
.brightness ==
|
||||
Brightness.dark
|
||||
? FlutterFlowTheme.of(context)
|
||||
? AppTheme
|
||||
.secondaryBackground
|
||||
: FlutterFlowTheme.of(context)
|
||||
: AppTheme
|
||||
.primaryBackground,
|
||||
borderRadius:
|
||||
BorderRadius.circular(10),
|
||||
border: Border.all(
|
||||
color: valueOrDefault<Color>(
|
||||
Theme.of(context)
|
||||
AppTheme.of(context)
|
||||
.brightness ==
|
||||
Brightness.dark
|
||||
? FlutterFlowTheme.of(
|
||||
? FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.alternate
|
||||
: FlutterFlowTheme.of(
|
||||
: FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.primaryBackground,
|
||||
FlutterFlowTheme.of(context)
|
||||
AppTheme
|
||||
.primaryBackground,
|
||||
),
|
||||
width: 1,
|
||||
@@ -679,13 +676,13 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
children: [
|
||||
Icon(
|
||||
Icons.nightlight_round,
|
||||
color: Theme.of(context)
|
||||
color: AppTheme.of(context)
|
||||
.brightness ==
|
||||
Brightness.dark
|
||||
? FlutterFlowTheme.of(
|
||||
? FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.primaryText
|
||||
: FlutterFlowTheme.of(
|
||||
: FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.secondaryText,
|
||||
size: 16,
|
||||
@@ -696,20 +693,20 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
child: Text(
|
||||
'Dark Mode',
|
||||
style:
|
||||
FlutterFlowTheme.of(
|
||||
FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.bodyMedium
|
||||
.override(
|
||||
fontFamily:
|
||||
'Readex Pro',
|
||||
color: Theme.of(context)
|
||||
color: AppTheme.of(context)
|
||||
.brightness ==
|
||||
Brightness
|
||||
.dark
|
||||
? FlutterFlowTheme.of(
|
||||
? FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.primaryText
|
||||
: FlutterFlowTheme.of(
|
||||
: FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.secondaryText,
|
||||
letterSpacing: 0,
|
||||
@@ -730,7 +727,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
Divider(
|
||||
height: 12,
|
||||
thickness: 2,
|
||||
color: FlutterFlowTheme.of(context).alternate,
|
||||
color: AppTheme.alternate,
|
||||
),
|
||||
Padding(
|
||||
padding:
|
||||
@@ -742,11 +739,11 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
width: 50,
|
||||
height: 50,
|
||||
decoration: BoxDecoration(
|
||||
color: FlutterFlowTheme.of(context).accent1,
|
||||
color: AppTheme.accent1,
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
border: Border.all(
|
||||
color:
|
||||
FlutterFlowTheme.of(context).primary,
|
||||
AppTheme.primary,
|
||||
width: 2,
|
||||
),
|
||||
),
|
||||
@@ -779,7 +776,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
children: [
|
||||
Text(
|
||||
'Casper Ghost',
|
||||
style: FlutterFlowTheme.of(context)
|
||||
style: AppTheme
|
||||
.bodyLarge
|
||||
.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
@@ -788,7 +785,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
),
|
||||
Text(
|
||||
'admin@gmail.com',
|
||||
style: FlutterFlowTheme.of(context)
|
||||
style: AppTheme
|
||||
.labelMedium
|
||||
.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
@@ -811,7 +808,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
children: [
|
||||
Icon(
|
||||
Icons.menu_open_rounded,
|
||||
color: FlutterFlowTheme.of(context)
|
||||
color: AppTheme
|
||||
.secondaryText,
|
||||
size: 24,
|
||||
),
|
||||
@@ -860,11 +857,11 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
maxWidth: 390,
|
||||
),
|
||||
decoration: BoxDecoration(
|
||||
color: FlutterFlowTheme.of(context)
|
||||
color: AppTheme
|
||||
.secondaryBackground,
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
border: Border.all(
|
||||
color: FlutterFlowTheme.of(context)
|
||||
color: AppTheme
|
||||
.alternate,
|
||||
width: 1,
|
||||
),
|
||||
@@ -881,13 +878,13 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
width: 72,
|
||||
height: 72,
|
||||
decoration: BoxDecoration(
|
||||
color: FlutterFlowTheme.of(
|
||||
color: FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.accent1,
|
||||
borderRadius:
|
||||
BorderRadius.circular(12),
|
||||
border: Border.all(
|
||||
color: FlutterFlowTheme.of(
|
||||
color: FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.primary,
|
||||
width: 2,
|
||||
@@ -926,7 +923,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
children: [
|
||||
Text(
|
||||
'Casper Ghost',
|
||||
style: FlutterFlowTheme
|
||||
style: FlutterFlowAppTheme
|
||||
.of(context)
|
||||
.headlineSmall
|
||||
.override(
|
||||
@@ -942,7 +939,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
0, 4, 0, 0),
|
||||
child: Text(
|
||||
'casper@ghustbusters.com',
|
||||
style: FlutterFlowTheme
|
||||
style: FlutterFlowAppTheme
|
||||
.of(context)
|
||||
.labelMedium
|
||||
.override(
|
||||
@@ -963,7 +960,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
Divider(
|
||||
height: 2,
|
||||
thickness: 1,
|
||||
color: FlutterFlowTheme.of(context)
|
||||
color: AppTheme
|
||||
.alternate,
|
||||
),
|
||||
Row(
|
||||
@@ -976,7 +973,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
child: Container(
|
||||
width: 200,
|
||||
decoration: BoxDecoration(
|
||||
color: FlutterFlowTheme.of(
|
||||
color: FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.secondaryBackground,
|
||||
borderRadius:
|
||||
@@ -997,7 +994,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
children: [
|
||||
Icon(
|
||||
Icons.receipt_rounded,
|
||||
color: FlutterFlowTheme
|
||||
color: FlutterFlowAppTheme
|
||||
.of(context)
|
||||
.primary,
|
||||
size: 44,
|
||||
@@ -1011,7 +1008,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
'2,200',
|
||||
textAlign: TextAlign
|
||||
.center,
|
||||
style: FlutterFlowTheme
|
||||
style: FlutterFlowAppTheme
|
||||
.of(context)
|
||||
.headlineSmall
|
||||
.override(
|
||||
@@ -1026,7 +1023,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
'Orders Placed',
|
||||
textAlign:
|
||||
TextAlign.center,
|
||||
style: FlutterFlowTheme
|
||||
style: FlutterFlowAppTheme
|
||||
.of(context)
|
||||
.labelMedium
|
||||
.override(
|
||||
@@ -1050,7 +1047,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
child: Container(
|
||||
width: 200,
|
||||
decoration: BoxDecoration(
|
||||
color: FlutterFlowTheme.of(
|
||||
color: FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.secondaryBackground,
|
||||
borderRadius:
|
||||
@@ -1072,7 +1069,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
Icon(
|
||||
Icons
|
||||
.ssid_chart_rounded,
|
||||
color: FlutterFlowTheme
|
||||
color: FlutterFlowAppTheme
|
||||
.of(context)
|
||||
.primary,
|
||||
size: 44,
|
||||
@@ -1086,7 +1083,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
'\$212.4k',
|
||||
textAlign: TextAlign
|
||||
.center,
|
||||
style: FlutterFlowTheme
|
||||
style: FlutterFlowAppTheme
|
||||
.of(context)
|
||||
.headlineSmall
|
||||
.override(
|
||||
@@ -1101,7 +1098,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
'Money Earned',
|
||||
textAlign:
|
||||
TextAlign.center,
|
||||
style: FlutterFlowTheme
|
||||
style: FlutterFlowAppTheme
|
||||
.of(context)
|
||||
.labelMedium
|
||||
.override(
|
||||
@@ -1137,13 +1134,13 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
Container(
|
||||
width: double.infinity,
|
||||
decoration: BoxDecoration(
|
||||
color: FlutterFlowTheme.of(context)
|
||||
color: AppTheme
|
||||
.primaryBackground,
|
||||
borderRadius:
|
||||
BorderRadius.circular(12),
|
||||
border: Border.all(
|
||||
color:
|
||||
FlutterFlowTheme.of(context)
|
||||
AppTheme
|
||||
.alternate,
|
||||
),
|
||||
),
|
||||
@@ -1154,7 +1151,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
child: Text(
|
||||
'My Account Information',
|
||||
style:
|
||||
FlutterFlowTheme.of(context)
|
||||
AppTheme
|
||||
.labelMedium
|
||||
.override(
|
||||
fontFamily:
|
||||
@@ -1173,12 +1170,12 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
height: 60,
|
||||
decoration: BoxDecoration(
|
||||
color:
|
||||
FlutterFlowTheme.of(context)
|
||||
AppTheme
|
||||
.secondaryBackground,
|
||||
boxShadow: [
|
||||
BoxShadow(
|
||||
blurRadius: 0,
|
||||
color: FlutterFlowTheme.of(
|
||||
color: FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.alternate,
|
||||
offset: const Offset(
|
||||
@@ -1203,7 +1200,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
children: [
|
||||
Text(
|
||||
'Change Password',
|
||||
style: FlutterFlowTheme
|
||||
style: FlutterFlowAppTheme
|
||||
.of(context)
|
||||
.bodyLarge
|
||||
.override(
|
||||
@@ -1220,7 +1217,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
child: Icon(
|
||||
Icons
|
||||
.chevron_right_rounded,
|
||||
color: FlutterFlowTheme
|
||||
color: FlutterFlowAppTheme
|
||||
.of(context)
|
||||
.secondaryText,
|
||||
size: 20,
|
||||
@@ -1243,12 +1240,12 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
height: 60,
|
||||
decoration: BoxDecoration(
|
||||
color:
|
||||
FlutterFlowTheme.of(context)
|
||||
AppTheme
|
||||
.secondaryBackground,
|
||||
boxShadow: [
|
||||
BoxShadow(
|
||||
blurRadius: 0,
|
||||
color: FlutterFlowTheme.of(
|
||||
color: FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.alternate,
|
||||
offset: const Offset(
|
||||
@@ -1274,13 +1271,13 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
Text(
|
||||
'Edit Profile',
|
||||
style:
|
||||
FlutterFlowTheme.of(
|
||||
FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.bodyLarge
|
||||
.override(
|
||||
fontFamily:
|
||||
'Readex Pro',
|
||||
color: FlutterFlowTheme.of(
|
||||
color: FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.primaryText,
|
||||
letterSpacing:
|
||||
@@ -1295,7 +1292,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
child: Icon(
|
||||
Icons
|
||||
.chevron_right_rounded,
|
||||
color: FlutterFlowTheme
|
||||
color: FlutterFlowAppTheme
|
||||
.of(context)
|
||||
.secondaryText,
|
||||
size: 20,
|
||||
@@ -1317,13 +1314,13 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
width: double.infinity,
|
||||
decoration: BoxDecoration(
|
||||
color:
|
||||
FlutterFlowTheme.of(context)
|
||||
AppTheme
|
||||
.primaryBackground,
|
||||
borderRadius:
|
||||
BorderRadius.circular(12),
|
||||
border: Border.all(
|
||||
color:
|
||||
FlutterFlowTheme.of(context)
|
||||
AppTheme
|
||||
.alternate,
|
||||
),
|
||||
),
|
||||
@@ -1333,7 +1330,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
child: Text(
|
||||
'Support',
|
||||
style:
|
||||
FlutterFlowTheme.of(context)
|
||||
AppTheme
|
||||
.labelMedium
|
||||
.override(
|
||||
fontFamily:
|
||||
@@ -1374,12 +1371,12 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
height: 60,
|
||||
decoration: BoxDecoration(
|
||||
color:
|
||||
FlutterFlowTheme.of(context)
|
||||
AppTheme
|
||||
.secondaryBackground,
|
||||
boxShadow: [
|
||||
BoxShadow(
|
||||
blurRadius: 0,
|
||||
color: FlutterFlowTheme.of(
|
||||
color: FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.alternate,
|
||||
offset: const Offset(
|
||||
@@ -1405,13 +1402,13 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
children: [
|
||||
Text(
|
||||
'Bug or Feature Request',
|
||||
style: FlutterFlowTheme
|
||||
style: FlutterFlowAppTheme
|
||||
.of(context)
|
||||
.bodyLarge
|
||||
.override(
|
||||
fontFamily:
|
||||
'Readex Pro',
|
||||
color: FlutterFlowTheme.of(
|
||||
color: FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.primaryText,
|
||||
letterSpacing:
|
||||
@@ -1426,7 +1423,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
child: Icon(
|
||||
Icons
|
||||
.chevron_right_rounded,
|
||||
color: FlutterFlowTheme
|
||||
color: FlutterFlowAppTheme
|
||||
.of(context)
|
||||
.secondaryText,
|
||||
size: 20,
|
||||
@@ -1474,12 +1471,12 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
height: 60,
|
||||
decoration: BoxDecoration(
|
||||
color:
|
||||
FlutterFlowTheme.of(context)
|
||||
AppTheme
|
||||
.secondaryBackground,
|
||||
boxShadow: [
|
||||
BoxShadow(
|
||||
blurRadius: 0,
|
||||
color: FlutterFlowTheme.of(
|
||||
color: FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.alternate,
|
||||
offset: const Offset(
|
||||
@@ -1505,7 +1502,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
children: [
|
||||
Text(
|
||||
'Open-source licenses & other info',
|
||||
style: FlutterFlowTheme
|
||||
style: FlutterFlowAppTheme
|
||||
.of(context)
|
||||
.bodyLarge
|
||||
.override(
|
||||
@@ -1523,7 +1520,7 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
child: Icon(
|
||||
Icons
|
||||
.chevron_right_rounded,
|
||||
color: FlutterFlowTheme
|
||||
color: FlutterFlowAppTheme
|
||||
.of(context)
|
||||
.secondaryText,
|
||||
size: 20,
|
||||
@@ -1551,12 +1548,12 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
),
|
||||
decoration: BoxDecoration(
|
||||
color:
|
||||
FlutterFlowTheme.of(context)
|
||||
AppTheme
|
||||
.primaryBackground,
|
||||
borderRadius:
|
||||
BorderRadius.circular(12),
|
||||
border: Border.all(
|
||||
color: FlutterFlowTheme.of(
|
||||
color: FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.alternate,
|
||||
width: 1,
|
||||
@@ -1583,21 +1580,21 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
onTap: () async {
|
||||
setDarkModeSetting(
|
||||
context,
|
||||
ThemeMode.light);
|
||||
AppThemeMode.light);
|
||||
},
|
||||
child: Container(
|
||||
width: 115,
|
||||
height: 100,
|
||||
decoration:
|
||||
BoxDecoration(
|
||||
color: Theme.of(context)
|
||||
color: AppTheme.of(context)
|
||||
.brightness ==
|
||||
Brightness
|
||||
.light
|
||||
? FlutterFlowTheme.of(
|
||||
? FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.secondaryBackground
|
||||
: FlutterFlowTheme.of(
|
||||
: FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.primaryBackground,
|
||||
borderRadius:
|
||||
@@ -1608,17 +1605,17 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
color:
|
||||
valueOrDefault<
|
||||
Color>(
|
||||
Theme.of(context)
|
||||
AppTheme.of(context)
|
||||
.brightness ==
|
||||
Brightness
|
||||
.light
|
||||
? FlutterFlowTheme.of(
|
||||
? FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.alternate
|
||||
: FlutterFlowTheme.of(
|
||||
: FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.primaryBackground,
|
||||
FlutterFlowTheme.of(
|
||||
FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.alternate,
|
||||
),
|
||||
@@ -1636,14 +1633,14 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
Icon(
|
||||
Icons
|
||||
.wb_sunny_rounded,
|
||||
color: Theme.of(context)
|
||||
color: AppTheme.of(context)
|
||||
.brightness ==
|
||||
Brightness
|
||||
.light
|
||||
? FlutterFlowTheme.of(
|
||||
? FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.primaryText
|
||||
: FlutterFlowTheme.of(
|
||||
: FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.secondaryText,
|
||||
size: 16,
|
||||
@@ -1658,16 +1655,16 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
0),
|
||||
child: Text(
|
||||
'Light ',
|
||||
style: FlutterFlowTheme.of(
|
||||
style: FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.bodyMedium
|
||||
.override(
|
||||
fontFamily:
|
||||
'Readex Pro',
|
||||
color: Theme.of(context).brightness ==
|
||||
color: AppTheme.of(context).brightness ==
|
||||
Brightness.light
|
||||
? FlutterFlowTheme.of(context).primaryText
|
||||
: FlutterFlowTheme.of(context).secondaryText,
|
||||
? AppTheme.primaryText
|
||||
: AppTheme.secondaryText,
|
||||
letterSpacing:
|
||||
0,
|
||||
),
|
||||
@@ -1691,21 +1688,21 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
onTap: () async {
|
||||
setDarkModeSetting(
|
||||
context,
|
||||
ThemeMode.dark);
|
||||
AppThemeMode.dark);
|
||||
},
|
||||
child: Container(
|
||||
width: 115,
|
||||
height: 100,
|
||||
decoration:
|
||||
BoxDecoration(
|
||||
color: Theme.of(context)
|
||||
color: AppTheme.of(context)
|
||||
.brightness ==
|
||||
Brightness
|
||||
.dark
|
||||
? FlutterFlowTheme.of(
|
||||
? FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.secondaryBackground
|
||||
: FlutterFlowTheme.of(
|
||||
: FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.primaryBackground,
|
||||
borderRadius:
|
||||
@@ -1713,14 +1710,14 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
.circular(
|
||||
10),
|
||||
border: Border.all(
|
||||
color: Theme.of(context)
|
||||
color: AppTheme.of(context)
|
||||
.brightness ==
|
||||
Brightness
|
||||
.dark
|
||||
? FlutterFlowTheme.of(
|
||||
? FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.alternate
|
||||
: FlutterFlowTheme.of(
|
||||
: FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.primaryBackground,
|
||||
width: 1,
|
||||
@@ -1737,14 +1734,14 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
Icon(
|
||||
Icons
|
||||
.nightlight_round,
|
||||
color: Theme.of(context)
|
||||
color: AppTheme.of(context)
|
||||
.brightness ==
|
||||
Brightness
|
||||
.dark
|
||||
? FlutterFlowTheme.of(
|
||||
? FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.primaryText
|
||||
: FlutterFlowTheme.of(
|
||||
: FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.secondaryText,
|
||||
size: 16,
|
||||
@@ -1759,16 +1756,16 @@ class _SettingsWidgetState extends State<SettingsWidget>
|
||||
0),
|
||||
child: Text(
|
||||
'Dark',
|
||||
style: FlutterFlowTheme.of(
|
||||
style: FlutterFlowAppTheme.of(
|
||||
context)
|
||||
.bodyMedium
|
||||
.override(
|
||||
fontFamily:
|
||||
'Readex Pro',
|
||||
color: Theme.of(context).brightness ==
|
||||
color: AppTheme.of(context).brightness ==
|
||||
Brightness.dark
|
||||
? FlutterFlowTheme.of(context).primaryText
|
||||
: FlutterFlowTheme.of(context).secondaryText,
|
||||
? AppTheme.primaryText
|
||||
: AppTheme.secondaryText,
|
||||
letterSpacing:
|
||||
0,
|
||||
),
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
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 'package:flutterflow_ui/flutterflow_ui.dart';
|
||||
import 'setup_widget.dart' show SetupWidget;
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_animate/flutter_animate.dart';
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
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 'package:flutterflow_ui/flutterflow_ui.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_animate/flutter_animate.dart';
|
||||
import 'package:google_fonts/google_fonts.dart';
|
||||
@@ -149,7 +146,7 @@ class _SetupWidgetState extends State<SetupWidget>
|
||||
: FocusScope.of(context).unfocus(),
|
||||
child: Scaffold(
|
||||
key: scaffoldKey,
|
||||
backgroundColor: FlutterFlowTheme.of(context).secondaryBackground,
|
||||
backgroundColor: AppTheme.secondaryBackground,
|
||||
body: Column(
|
||||
mainAxisSize: MainAxisSize.max,
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
@@ -161,9 +158,9 @@ class _SetupWidgetState extends State<SetupWidget>
|
||||
decoration: BoxDecoration(
|
||||
gradient: LinearGradient(
|
||||
colors: [
|
||||
FlutterFlowTheme.of(context).primary,
|
||||
FlutterFlowTheme.of(context).error,
|
||||
FlutterFlowTheme.of(context).tertiary
|
||||
AppTheme.primary,
|
||||
AppTheme.error,
|
||||
AppTheme.tertiary
|
||||
],
|
||||
stops: const [0, 0.5, 1],
|
||||
begin: const AlignmentDirectional(-1, -1),
|
||||
@@ -177,7 +174,7 @@ class _SetupWidgetState extends State<SetupWidget>
|
||||
gradient: LinearGradient(
|
||||
colors: [
|
||||
const Color(0x00FFFFFF),
|
||||
FlutterFlowTheme.of(context).secondaryBackground
|
||||
AppTheme.secondaryBackground
|
||||
],
|
||||
stops: const [0, 1],
|
||||
begin: const AlignmentDirectional(0, -1),
|
||||
@@ -192,7 +189,7 @@ class _SetupWidgetState extends State<SetupWidget>
|
||||
width: 120,
|
||||
height: 120,
|
||||
decoration: BoxDecoration(
|
||||
color: FlutterFlowTheme.of(context).accent4,
|
||||
color: AppTheme.accent4,
|
||||
shape: BoxShape.circle,
|
||||
),
|
||||
child: Padding(
|
||||
@@ -210,7 +207,7 @@ class _SetupWidgetState extends State<SetupWidget>
|
||||
padding: const EdgeInsetsDirectional.fromSTEB(0, 44, 0, 0),
|
||||
child: Text(
|
||||
'Welcome!',
|
||||
style: FlutterFlowTheme.of(context)
|
||||
style: AppTheme
|
||||
.displaySmall
|
||||
.override(
|
||||
fontFamily: 'Outfit',
|
||||
@@ -225,7 +222,7 @@ class _SetupWidgetState extends State<SetupWidget>
|
||||
'Thanks for joining! Access or create your account below, and get started on your journey!',
|
||||
textAlign: TextAlign.center,
|
||||
style:
|
||||
FlutterFlowTheme.of(context).labelMedium.override(
|
||||
AppTheme.labelMedium.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
letterSpacing: 0,
|
||||
),
|
||||
@@ -259,16 +256,16 @@ class _SetupWidgetState extends State<SetupWidget>
|
||||
padding: const EdgeInsetsDirectional.fromSTEB(0, 0, 0, 0),
|
||||
iconPadding:
|
||||
const EdgeInsetsDirectional.fromSTEB(0, 0, 0, 0),
|
||||
color: FlutterFlowTheme.of(context)
|
||||
color: AppTheme
|
||||
.secondaryBackground,
|
||||
textStyle:
|
||||
FlutterFlowTheme.of(context).bodyLarge.override(
|
||||
AppTheme.bodyLarge.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
letterSpacing: 0,
|
||||
),
|
||||
elevation: 0,
|
||||
borderSide: BorderSide(
|
||||
color: FlutterFlowTheme.of(context).alternate,
|
||||
color: AppTheme.alternate,
|
||||
width: 2,
|
||||
),
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
@@ -293,8 +290,8 @@ class _SetupWidgetState extends State<SetupWidget>
|
||||
padding: const EdgeInsetsDirectional.fromSTEB(0, 0, 0, 0),
|
||||
iconPadding:
|
||||
const EdgeInsetsDirectional.fromSTEB(0, 0, 0, 0),
|
||||
color: FlutterFlowTheme.of(context).primary,
|
||||
textStyle: FlutterFlowTheme.of(context)
|
||||
color: AppTheme.primary,
|
||||
textStyle: AppTheme
|
||||
.titleSmall
|
||||
.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
import '/flutter_flow/flutter_flow_animations.dart';
|
||||
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 'package:flutterflow_ui/flutterflow_ui.dart';
|
||||
import 'support_form_widget.dart' show SupportFormWidget;
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_animate/flutter_animate.dart';
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
import '/flutter_flow/flutter_flow_animations.dart';
|
||||
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 'package:flutterflow_ui/flutterflow_ui.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_animate/flutter_animate.dart';
|
||||
import 'package:google_fonts/google_fonts.dart';
|
||||
@@ -11,6 +7,8 @@ import 'package:provider/provider.dart';
|
||||
import 'support_form_model.dart';
|
||||
export 'support_form_model.dart';
|
||||
|
||||
import 'package:app/theme.dart';
|
||||
|
||||
class SupportFormWidget extends StatefulWidget {
|
||||
const SupportFormWidget({super.key});
|
||||
|
||||
@@ -122,30 +120,27 @@ class _SupportFormWidgetState extends State<SupportFormWidget>
|
||||
: FocusScope.of(context).unfocus(),
|
||||
child: Scaffold(
|
||||
key: scaffoldKey,
|
||||
backgroundColor: FlutterFlowTheme.of(context).secondaryBackground,
|
||||
backgroundColor: AppTheme.secondaryBackground,
|
||||
appBar: AppBar(
|
||||
backgroundColor: FlutterFlowTheme.of(context).secondaryBackground,
|
||||
backgroundColor: AppTheme.secondaryBackground,
|
||||
automaticallyImplyLeading: false,
|
||||
leading: FlutterFlowIconButton(
|
||||
borderColor: Colors.transparent,
|
||||
borderRadius: 30,
|
||||
borderWidth: 1,
|
||||
buttonSize: 60,
|
||||
icon: Icon(
|
||||
icon: const Icon(
|
||||
Icons.arrow_back_rounded,
|
||||
color: FlutterFlowTheme.of(context).primaryText,
|
||||
color: AppTheme.primaryText,
|
||||
size: 30,
|
||||
),
|
||||
onPressed: () async {
|
||||
context.pop();
|
||||
},
|
||||
),
|
||||
title: Text(
|
||||
title: const Text(
|
||||
'Submit Ticket',
|
||||
style: FlutterFlowTheme.of(context).titleLarge.override(
|
||||
fontFamily: 'Outfit',
|
||||
letterSpacing: 0,
|
||||
),
|
||||
style: AppTheme.titleLarge,
|
||||
),
|
||||
actions: const [],
|
||||
centerTitle: false,
|
||||
@@ -162,23 +157,15 @@ class _SupportFormWidgetState extends State<SupportFormWidget>
|
||||
mainAxisSize: MainAxisSize.max,
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(
|
||||
const Text(
|
||||
'Welcome to support',
|
||||
style: FlutterFlowTheme.of(context).labelLarge.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
letterSpacing: 0,
|
||||
),
|
||||
style: AppTheme.labelLarge,
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsetsDirectional.fromSTEB(0, 4, 0, 0),
|
||||
const Padding(
|
||||
padding: EdgeInsetsDirectional.fromSTEB(0, 4, 0, 0),
|
||||
child: Text(
|
||||
'Submit a bug',
|
||||
style: FlutterFlowTheme.of(context)
|
||||
.headlineMedium
|
||||
.override(
|
||||
fontFamily: 'Outfit',
|
||||
letterSpacing: 0,
|
||||
),
|
||||
style: AppTheme.headlineMedium,
|
||||
),
|
||||
),
|
||||
Row(
|
||||
@@ -194,16 +181,16 @@ class _SupportFormWidgetState extends State<SupportFormWidget>
|
||||
maxWidth: 500,
|
||||
),
|
||||
decoration: BoxDecoration(
|
||||
color: FlutterFlowTheme.of(context)
|
||||
color: AppTheme
|
||||
.secondaryBackground,
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
border: Border.all(
|
||||
color: FlutterFlowTheme.of(context).alternate,
|
||||
color: AppTheme.alternate,
|
||||
width: 2,
|
||||
),
|
||||
),
|
||||
child: Padding(
|
||||
padding: const EdgeInsetsDirectional.fromSTEB(
|
||||
child: const Padding(
|
||||
padding: EdgeInsetsDirectional.fromSTEB(
|
||||
8, 16, 8, 16),
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.max,
|
||||
@@ -213,21 +200,16 @@ class _SupportFormWidgetState extends State<SupportFormWidget>
|
||||
Icon(
|
||||
Icons.email_outlined,
|
||||
color:
|
||||
FlutterFlowTheme.of(context).primary,
|
||||
AppTheme.primary,
|
||||
size: 36,
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsetsDirectional.fromSTEB(
|
||||
padding: EdgeInsetsDirectional.fromSTEB(
|
||||
0, 12, 0, 0),
|
||||
child: Text(
|
||||
'Email Us',
|
||||
textAlign: TextAlign.center,
|
||||
style: FlutterFlowTheme.of(context)
|
||||
.bodyMedium
|
||||
.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
letterSpacing: 0,
|
||||
),
|
||||
style: AppTheme.bodyMedium,
|
||||
),
|
||||
),
|
||||
],
|
||||
@@ -247,16 +229,16 @@ class _SupportFormWidgetState extends State<SupportFormWidget>
|
||||
maxWidth: 500,
|
||||
),
|
||||
decoration: BoxDecoration(
|
||||
color: FlutterFlowTheme.of(context)
|
||||
color: AppTheme
|
||||
.secondaryBackground,
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
border: Border.all(
|
||||
color: FlutterFlowTheme.of(context).alternate,
|
||||
color: AppTheme.alternate,
|
||||
width: 2,
|
||||
),
|
||||
),
|
||||
child: Padding(
|
||||
padding: const EdgeInsetsDirectional.fromSTEB(
|
||||
child: const Padding(
|
||||
padding: EdgeInsetsDirectional.fromSTEB(
|
||||
8, 16, 8, 16),
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.max,
|
||||
@@ -266,21 +248,16 @@ class _SupportFormWidgetState extends State<SupportFormWidget>
|
||||
Icon(
|
||||
Icons.search_rounded,
|
||||
color:
|
||||
FlutterFlowTheme.of(context).primary,
|
||||
AppTheme.primary,
|
||||
size: 36,
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsetsDirectional.fromSTEB(
|
||||
padding: EdgeInsetsDirectional.fromSTEB(
|
||||
0, 12, 0, 0),
|
||||
child: Text(
|
||||
'Search FAQs',
|
||||
textAlign: TextAlign.center,
|
||||
style: FlutterFlowTheme.of(context)
|
||||
.bodyMedium
|
||||
.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
letterSpacing: 0,
|
||||
),
|
||||
style: AppTheme.bodyMedium,
|
||||
),
|
||||
),
|
||||
],
|
||||
@@ -304,42 +281,32 @@ class _SupportFormWidgetState extends State<SupportFormWidget>
|
||||
obscureText: false,
|
||||
decoration: InputDecoration(
|
||||
labelText: 'Channel Name',
|
||||
labelStyle: FlutterFlowTheme.of(context)
|
||||
.labelMedium
|
||||
.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
letterSpacing: 0,
|
||||
),
|
||||
hintStyle: FlutterFlowTheme.of(context)
|
||||
.labelMedium
|
||||
.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
letterSpacing: 0,
|
||||
),
|
||||
labelStyle: AppTheme.labelMedium,
|
||||
hintStyle: AppTheme.labelMedium,
|
||||
enabledBorder: OutlineInputBorder(
|
||||
borderSide: BorderSide(
|
||||
color: FlutterFlowTheme.of(context).alternate,
|
||||
borderSide: const BorderSide(
|
||||
color: AppTheme.alternate,
|
||||
width: 2,
|
||||
),
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
),
|
||||
focusedBorder: OutlineInputBorder(
|
||||
borderSide: BorderSide(
|
||||
color: FlutterFlowTheme.of(context).primary,
|
||||
borderSide: const BorderSide(
|
||||
color: AppTheme.primary,
|
||||
width: 2,
|
||||
),
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
),
|
||||
errorBorder: OutlineInputBorder(
|
||||
borderSide: BorderSide(
|
||||
color: FlutterFlowTheme.of(context).error,
|
||||
borderSide: const BorderSide(
|
||||
color: AppTheme.error,
|
||||
width: 2,
|
||||
),
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
),
|
||||
focusedErrorBorder: OutlineInputBorder(
|
||||
borderSide: BorderSide(
|
||||
color: FlutterFlowTheme.of(context).error,
|
||||
borderSide: const BorderSide(
|
||||
color: AppTheme.error,
|
||||
width: 2,
|
||||
),
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
@@ -347,13 +314,8 @@ class _SupportFormWidgetState extends State<SupportFormWidget>
|
||||
contentPadding: const EdgeInsetsDirectional.fromSTEB(
|
||||
16, 12, 16, 12),
|
||||
),
|
||||
style: FlutterFlowTheme.of(context)
|
||||
.bodyMedium
|
||||
.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
letterSpacing: 0,
|
||||
),
|
||||
cursorColor: FlutterFlowTheme.of(context).primary,
|
||||
style: AppTheme.bodyMedium,
|
||||
cursorColor: AppTheme.primary,
|
||||
validator: _model.textController1Validator
|
||||
.asValidator(context),
|
||||
),
|
||||
@@ -364,42 +326,32 @@ class _SupportFormWidgetState extends State<SupportFormWidget>
|
||||
obscureText: false,
|
||||
decoration: InputDecoration(
|
||||
labelText: 'Channel ID',
|
||||
labelStyle: FlutterFlowTheme.of(context)
|
||||
.labelMedium
|
||||
.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
letterSpacing: 0,
|
||||
),
|
||||
hintStyle: FlutterFlowTheme.of(context)
|
||||
.labelMedium
|
||||
.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
letterSpacing: 0,
|
||||
),
|
||||
labelStyle: AppTheme.labelMedium,
|
||||
hintStyle: AppTheme.labelMedium,
|
||||
enabledBorder: OutlineInputBorder(
|
||||
borderSide: BorderSide(
|
||||
color: FlutterFlowTheme.of(context).alternate,
|
||||
borderSide: const BorderSide(
|
||||
color: AppTheme.alternate,
|
||||
width: 2,
|
||||
),
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
),
|
||||
focusedBorder: OutlineInputBorder(
|
||||
borderSide: BorderSide(
|
||||
color: FlutterFlowTheme.of(context).primary,
|
||||
borderSide: const BorderSide(
|
||||
color: AppTheme.primary,
|
||||
width: 2,
|
||||
),
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
),
|
||||
errorBorder: OutlineInputBorder(
|
||||
borderSide: BorderSide(
|
||||
color: FlutterFlowTheme.of(context).error,
|
||||
borderSide: const BorderSide(
|
||||
color: AppTheme.error,
|
||||
width: 2,
|
||||
),
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
),
|
||||
focusedErrorBorder: OutlineInputBorder(
|
||||
borderSide: BorderSide(
|
||||
color: FlutterFlowTheme.of(context).error,
|
||||
borderSide: const BorderSide(
|
||||
color: AppTheme.error,
|
||||
width: 2,
|
||||
),
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
@@ -407,13 +359,8 @@ class _SupportFormWidgetState extends State<SupportFormWidget>
|
||||
contentPadding: const EdgeInsetsDirectional.fromSTEB(
|
||||
16, 12, 16, 12),
|
||||
),
|
||||
style: FlutterFlowTheme.of(context)
|
||||
.bodyMedium
|
||||
.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
letterSpacing: 0,
|
||||
),
|
||||
cursorColor: FlutterFlowTheme.of(context).primary,
|
||||
style: AppTheme.bodyMedium,
|
||||
cursorColor: AppTheme.primary,
|
||||
validator: _model.textController2Validator
|
||||
.asValidator(context),
|
||||
),
|
||||
@@ -423,44 +370,34 @@ class _SupportFormWidgetState extends State<SupportFormWidget>
|
||||
autofocus: true,
|
||||
obscureText: false,
|
||||
decoration: InputDecoration(
|
||||
labelStyle: FlutterFlowTheme.of(context)
|
||||
.labelMedium
|
||||
.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
letterSpacing: 0,
|
||||
),
|
||||
labelStyle: AppTheme.labelMedium,
|
||||
hintText:
|
||||
'Short Description of what is going on...',
|
||||
hintStyle: FlutterFlowTheme.of(context)
|
||||
.labelMedium
|
||||
.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
letterSpacing: 0,
|
||||
),
|
||||
hintStyle: AppTheme.labelMedium,
|
||||
enabledBorder: OutlineInputBorder(
|
||||
borderSide: BorderSide(
|
||||
color: FlutterFlowTheme.of(context).alternate,
|
||||
borderSide: const BorderSide(
|
||||
color: AppTheme.alternate,
|
||||
width: 2,
|
||||
),
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
),
|
||||
focusedBorder: OutlineInputBorder(
|
||||
borderSide: BorderSide(
|
||||
color: FlutterFlowTheme.of(context).primary,
|
||||
borderSide: const BorderSide(
|
||||
color: AppTheme.primary,
|
||||
width: 2,
|
||||
),
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
),
|
||||
errorBorder: OutlineInputBorder(
|
||||
borderSide: BorderSide(
|
||||
color: FlutterFlowTheme.of(context).error,
|
||||
borderSide: const BorderSide(
|
||||
color: AppTheme.error,
|
||||
width: 2,
|
||||
),
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
),
|
||||
focusedErrorBorder: OutlineInputBorder(
|
||||
borderSide: BorderSide(
|
||||
color: FlutterFlowTheme.of(context).error,
|
||||
borderSide: const BorderSide(
|
||||
color: AppTheme.error,
|
||||
width: 2,
|
||||
),
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
@@ -468,15 +405,10 @@ class _SupportFormWidgetState extends State<SupportFormWidget>
|
||||
contentPadding: const EdgeInsetsDirectional.fromSTEB(
|
||||
16, 24, 16, 12),
|
||||
),
|
||||
style: FlutterFlowTheme.of(context)
|
||||
.bodyMedium
|
||||
.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
letterSpacing: 0,
|
||||
),
|
||||
style: AppTheme.bodyMedium,
|
||||
maxLines: 16,
|
||||
minLines: 6,
|
||||
cursorColor: FlutterFlowTheme.of(context).primary,
|
||||
cursorColor: AppTheme.primary,
|
||||
validator: _model.textController3Validator
|
||||
.asValidator(context),
|
||||
),
|
||||
@@ -492,35 +424,30 @@ class _SupportFormWidgetState extends State<SupportFormWidget>
|
||||
),
|
||||
decoration: BoxDecoration(
|
||||
color:
|
||||
FlutterFlowTheme.of(context).secondaryBackground,
|
||||
AppTheme.secondaryBackground,
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
border: Border.all(
|
||||
color: FlutterFlowTheme.of(context).alternate,
|
||||
color: AppTheme.alternate,
|
||||
width: 2,
|
||||
),
|
||||
),
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(8),
|
||||
child: const Padding(
|
||||
padding: EdgeInsets.all(8),
|
||||
child: Row(
|
||||
mainAxisSize: MainAxisSize.max,
|
||||
children: [
|
||||
Icon(
|
||||
Icons.add_a_photo_rounded,
|
||||
color: FlutterFlowTheme.of(context).primary,
|
||||
color: AppTheme.primary,
|
||||
size: 32,
|
||||
),
|
||||
Padding(
|
||||
padding:
|
||||
const EdgeInsetsDirectional.fromSTEB(16, 0, 0, 0),
|
||||
EdgeInsetsDirectional.fromSTEB(16, 0, 0, 0),
|
||||
child: Text(
|
||||
'Upload Screenshot',
|
||||
textAlign: TextAlign.center,
|
||||
style: FlutterFlowTheme.of(context)
|
||||
.bodyMedium
|
||||
.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
letterSpacing: 0,
|
||||
),
|
||||
style: AppTheme.bodyMedium,
|
||||
),
|
||||
),
|
||||
],
|
||||
@@ -546,13 +473,8 @@ class _SupportFormWidgetState extends State<SupportFormWidget>
|
||||
padding: const EdgeInsets.all(0),
|
||||
iconPadding:
|
||||
const EdgeInsetsDirectional.fromSTEB(0, 0, 0, 0),
|
||||
color: FlutterFlowTheme.of(context).primary,
|
||||
textStyle:
|
||||
FlutterFlowTheme.of(context).titleSmall.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
color: Colors.white,
|
||||
letterSpacing: 0,
|
||||
),
|
||||
color: AppTheme.primary,
|
||||
textStyle: AppTheme.titleSmall,
|
||||
elevation: 4,
|
||||
borderSide: const BorderSide(
|
||||
color: Colors.transparent,
|
||||
|
||||
Reference in New Issue
Block a user