refactoring theme updates (removing flutterflow theme).
This commit is contained in:
+2
-5
@@ -1,9 +1,6 @@
|
||||
import '/components/options_dialog/options_dialog_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 '../conversation_details_overlay_widget.dart'
|
||||
import 'package:flutterflow_ui/flutterflow_ui.dart';
|
||||
import 'conversation_details_overlay_widget.dart'
|
||||
show ConversationDetailsOverlayWidget;
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:google_fonts/google_fonts.dart';
|
||||
|
||||
+16
-19
@@ -1,8 +1,5 @@
|
||||
import '/components/options_dialog/options_dialog_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 'dart:ui';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:google_fonts/google_fonts.dart';
|
||||
@@ -80,7 +77,7 @@ class _ConversationDetailsOverlayWidgetState
|
||||
padding: const EdgeInsetsDirectional.fromSTEB(16, 0, 0, 0),
|
||||
child: Text(
|
||||
'Chat Details',
|
||||
style: FlutterFlowTheme.of(context)
|
||||
style: AppAppAppAppAppAppAppAppAppTheme
|
||||
.headlineSmall
|
||||
.override(
|
||||
fontFamily: 'Outfit',
|
||||
@@ -91,14 +88,14 @@ class _ConversationDetailsOverlayWidgetState
|
||||
Padding(
|
||||
padding: const EdgeInsetsDirectional.fromSTEB(0, 0, 16, 0),
|
||||
child: FlutterFlowIconButton(
|
||||
borderColor: FlutterFlowTheme.of(context).alternate,
|
||||
borderColor: AppAppAppAppAppAppAppAppAppTheme.alternate,
|
||||
borderRadius: 12,
|
||||
borderWidth: 1,
|
||||
buttonSize: 40,
|
||||
fillColor: FlutterFlowTheme.of(context).accent4,
|
||||
fillColor: AppAppAppAppAppAppAppAppAppTheme.accent4,
|
||||
icon: Icon(
|
||||
Icons.close_rounded,
|
||||
color: FlutterFlowTheme.of(context).primaryText,
|
||||
color: AppAppAppAppAppAppAppAppAppTheme.primaryText,
|
||||
size: 24,
|
||||
),
|
||||
onPressed: () async {
|
||||
@@ -121,13 +118,13 @@ class _ConversationDetailsOverlayWidgetState
|
||||
TextSpan(
|
||||
text: 'Hello World ',
|
||||
style: TextStyle(
|
||||
color: FlutterFlowTheme.of(context).primary,
|
||||
color: AppAppAppAppAppAppAppAppAppTheme.primary,
|
||||
fontWeight: FontWeight.bold,
|
||||
),
|
||||
)
|
||||
],
|
||||
style:
|
||||
FlutterFlowTheme.of(context).labelMedium.override(
|
||||
AppAppAppAppAppAppAppAppAppTheme.labelMedium.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
letterSpacing: 0,
|
||||
),
|
||||
@@ -143,7 +140,7 @@ class _ConversationDetailsOverlayWidgetState
|
||||
children: [
|
||||
Divider(
|
||||
thickness: 1,
|
||||
color: FlutterFlowTheme.of(context).tertiary,
|
||||
color: AppAppAppAppAppAppAppAppAppTheme.tertiary,
|
||||
),
|
||||
],
|
||||
),
|
||||
@@ -157,11 +154,11 @@ class _ConversationDetailsOverlayWidgetState
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
child: Container(
|
||||
decoration: BoxDecoration(
|
||||
color: FlutterFlowTheme.of(context)
|
||||
color: AppAppAppAppAppAppAppAppAppTheme
|
||||
.secondaryBackground,
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
border: Border.all(
|
||||
color: FlutterFlowTheme.of(context).alternate,
|
||||
color: AppAppAppAppAppAppAppAppAppTheme.alternate,
|
||||
),
|
||||
),
|
||||
child: wrapWithModel(
|
||||
@@ -188,26 +185,26 @@ class _ConversationDetailsOverlayWidgetState
|
||||
iconPadding:
|
||||
const EdgeInsetsDirectional.fromSTEB(0, 0, 0, 0),
|
||||
color:
|
||||
FlutterFlowTheme.of(context).secondaryBackground,
|
||||
AppAppAppAppAppAppAppAppAppTheme.secondaryBackground,
|
||||
textStyle:
|
||||
FlutterFlowTheme.of(context).titleLarge.override(
|
||||
AppAppAppAppAppAppAppAppAppTheme.titleLarge.override(
|
||||
fontFamily: 'Outfit',
|
||||
fontSize: 18,
|
||||
letterSpacing: 0,
|
||||
),
|
||||
elevation: 0,
|
||||
borderSide: BorderSide(
|
||||
color: FlutterFlowTheme.of(context).alternate,
|
||||
color: AppAppAppAppAppAppAppAppAppTheme.alternate,
|
||||
width: 2,
|
||||
),
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
hoverColor: FlutterFlowTheme.of(context).alternate,
|
||||
hoverColor: AppAppAppAppAppAppAppAppAppTheme.alternate,
|
||||
hoverBorderSide: BorderSide(
|
||||
color: FlutterFlowTheme.of(context).alternate,
|
||||
color: AppAppAppAppAppAppAppAppAppTheme.alternate,
|
||||
width: 2,
|
||||
),
|
||||
hoverTextColor:
|
||||
FlutterFlowTheme.of(context).primaryText,
|
||||
AppAppAppAppAppAppAppAppAppTheme.primaryText,
|
||||
hoverElevation: 3,
|
||||
),
|
||||
),
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import '/flutter_flow/flutter_flow_theme.dart';
|
||||
import '/flutter_flow/flutter_flow_util.dart';
|
||||
import 'package:flutterflow_ui/flutterflow_ui.dart';
|
||||
import 'conversation_options_widget.dart' show ConversationOptionsWidget;
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:google_fonts/google_fonts.dart';
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import '/flutter_flow/flutter_flow_theme.dart';
|
||||
import '/flutter_flow/flutter_flow_util.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';
|
||||
@@ -42,7 +41,7 @@ class _ConversationOptionsWidgetState extends State<ConversationOptionsWidget> {
|
||||
return Container(
|
||||
width: double.infinity,
|
||||
decoration: BoxDecoration(
|
||||
color: FlutterFlowTheme.of(context).secondaryBackground,
|
||||
color: AppAppAppAppAppAppAppAppAppTheme.secondaryBackground,
|
||||
),
|
||||
child: Padding(
|
||||
padding: const EdgeInsetsDirectional.fromSTEB(0, 12, 0, 24),
|
||||
@@ -61,7 +60,7 @@ class _ConversationOptionsWidgetState extends State<ConversationOptionsWidget> {
|
||||
children: [
|
||||
Card(
|
||||
clipBehavior: Clip.antiAliasWithSaveLayer,
|
||||
color: FlutterFlowTheme.of(context).primaryBackground,
|
||||
color: AppAppAppAppAppAppAppAppAppTheme.primaryBackground,
|
||||
elevation: 0,
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(40),
|
||||
@@ -70,7 +69,7 @@ class _ConversationOptionsWidgetState extends State<ConversationOptionsWidget> {
|
||||
padding: const EdgeInsets.all(8),
|
||||
child: Icon(
|
||||
Icons.share_rounded,
|
||||
color: FlutterFlowTheme.of(context).secondaryText,
|
||||
color: AppAppAppAppAppAppAppAppAppTheme.secondaryText,
|
||||
size: 20,
|
||||
),
|
||||
),
|
||||
@@ -84,7 +83,7 @@ class _ConversationOptionsWidgetState extends State<ConversationOptionsWidget> {
|
||||
children: [
|
||||
Text(
|
||||
'Share',
|
||||
style: FlutterFlowTheme.of(context)
|
||||
style: AppAppAppAppAppAppAppAppAppTheme
|
||||
.labelLarge
|
||||
.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
@@ -110,7 +109,7 @@ class _ConversationOptionsWidgetState extends State<ConversationOptionsWidget> {
|
||||
children: [
|
||||
Card(
|
||||
clipBehavior: Clip.antiAliasWithSaveLayer,
|
||||
color: FlutterFlowTheme.of(context).primaryBackground,
|
||||
color: AppAppAppAppAppAppAppAppAppTheme.primaryBackground,
|
||||
elevation: 0,
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(40),
|
||||
@@ -119,7 +118,7 @@ class _ConversationOptionsWidgetState extends State<ConversationOptionsWidget> {
|
||||
padding: const EdgeInsets.all(8),
|
||||
child: Icon(
|
||||
Icons.insert_link,
|
||||
color: FlutterFlowTheme.of(context).secondaryText,
|
||||
color: AppAppAppAppAppAppAppAppAppTheme.secondaryText,
|
||||
size: 20,
|
||||
),
|
||||
),
|
||||
@@ -133,7 +132,7 @@ class _ConversationOptionsWidgetState extends State<ConversationOptionsWidget> {
|
||||
children: [
|
||||
Text(
|
||||
'Get Link',
|
||||
style: FlutterFlowTheme.of(context)
|
||||
style: AppAppAppAppAppAppAppAppAppTheme
|
||||
.labelLarge
|
||||
.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
@@ -159,7 +158,7 @@ class _ConversationOptionsWidgetState extends State<ConversationOptionsWidget> {
|
||||
children: [
|
||||
Card(
|
||||
clipBehavior: Clip.antiAliasWithSaveLayer,
|
||||
color: FlutterFlowTheme.of(context).primaryBackground,
|
||||
color: AppAppAppAppAppAppAppAppAppTheme.primaryBackground,
|
||||
elevation: 0,
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(40),
|
||||
@@ -168,7 +167,7 @@ class _ConversationOptionsWidgetState extends State<ConversationOptionsWidget> {
|
||||
padding: const EdgeInsets.all(8),
|
||||
child: Icon(
|
||||
Icons.mode_edit,
|
||||
color: FlutterFlowTheme.of(context).secondaryText,
|
||||
color: AppAppAppAppAppAppAppAppAppTheme.secondaryText,
|
||||
size: 20,
|
||||
),
|
||||
),
|
||||
@@ -182,7 +181,7 @@ class _ConversationOptionsWidgetState extends State<ConversationOptionsWidget> {
|
||||
children: [
|
||||
Text(
|
||||
'Model selection',
|
||||
style: FlutterFlowTheme.of(context)
|
||||
style: AppAppAppAppAppAppAppAppAppTheme
|
||||
.labelLarge
|
||||
.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
@@ -208,7 +207,7 @@ class _ConversationOptionsWidgetState extends State<ConversationOptionsWidget> {
|
||||
children: [
|
||||
Card(
|
||||
clipBehavior: Clip.antiAliasWithSaveLayer,
|
||||
color: FlutterFlowTheme.of(context).primaryBackground,
|
||||
color: AppAppAppAppAppAppAppAppAppTheme.primaryBackground,
|
||||
elevation: 0,
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(40),
|
||||
@@ -217,7 +216,7 @@ class _ConversationOptionsWidgetState extends State<ConversationOptionsWidget> {
|
||||
padding: const EdgeInsets.all(8),
|
||||
child: Icon(
|
||||
Icons.hide_source,
|
||||
color: FlutterFlowTheme.of(context).secondaryText,
|
||||
color: AppAppAppAppAppAppAppAppAppTheme.secondaryText,
|
||||
size: 20,
|
||||
),
|
||||
),
|
||||
@@ -231,7 +230,7 @@ class _ConversationOptionsWidgetState extends State<ConversationOptionsWidget> {
|
||||
children: [
|
||||
Text(
|
||||
'Private',
|
||||
style: FlutterFlowTheme.of(context)
|
||||
style: AppAppAppAppAppAppAppAppAppTheme
|
||||
.labelLarge
|
||||
.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
import '/components/conversation_bubbles/conversation_bubbles_widget.dart';
|
||||
import '/components/prompt_box/prompt_box_widget.dart';
|
||||
import '/flutter_flow/flutter_flow_icon_button.dart';
|
||||
import '/flutter_flow/flutter_flow_media_display.dart';
|
||||
import '/flutter_flow/flutter_flow_theme.dart';
|
||||
import '/flutter_flow/flutter_flow_util.dart';
|
||||
import '/flutter_flow/flutter_flow_video_player.dart';
|
||||
import 'package:flutterflow_ui/flutterflow_ui.dart';
|
||||
import 'conversation_thread_widget.dart' show ConversationThreadWidget;
|
||||
import 'package:cached_network_image/cached_network_image.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
import '/components/conversation_bubbles/conversation_bubbles_widget.dart';
|
||||
import '/components/prompt_box/prompt_box_widget.dart';
|
||||
import '/flutter_flow/flutter_flow_icon_button.dart';
|
||||
import '/flutter_flow/flutter_flow_media_display.dart';
|
||||
import '/flutter_flow/flutter_flow_theme.dart';
|
||||
import '/flutter_flow/flutter_flow_util.dart';
|
||||
import '/flutter_flow/flutter_flow_video_player.dart';
|
||||
import 'package:flutterflow_ui/flutterflow_ui.dart';
|
||||
import 'package:cached_network_image/cached_network_image.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:google_fonts/google_fonts.dart';
|
||||
@@ -49,7 +45,7 @@ class _ConversationThreadWidgetState extends State<ConversationThreadWidget> {
|
||||
width: double.infinity,
|
||||
height: double.infinity,
|
||||
decoration: BoxDecoration(
|
||||
color: FlutterFlowTheme.of(context).primaryBackground,
|
||||
color: AppAppAppAppAppAppAppAppAppTheme.primaryBackground,
|
||||
),
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.max,
|
||||
@@ -87,7 +83,7 @@ class _ConversationThreadWidgetState extends State<ConversationThreadWidget> {
|
||||
Container(
|
||||
width: double.infinity,
|
||||
decoration: BoxDecoration(
|
||||
color: FlutterFlowTheme.of(context).secondaryBackground,
|
||||
color: AppAppAppAppAppAppAppAppAppTheme.secondaryBackground,
|
||||
boxShadow: const [
|
||||
BoxShadow(
|
||||
blurRadius: 3,
|
||||
@@ -143,15 +139,15 @@ class _ConversationThreadWidgetState extends State<ConversationThreadWidget> {
|
||||
alignment: const AlignmentDirectional(-1, -1),
|
||||
child: FlutterFlowIconButton(
|
||||
borderColor:
|
||||
FlutterFlowTheme.of(context).error,
|
||||
AppAppAppAppAppAppAppAppAppTheme.error,
|
||||
borderRadius: 20,
|
||||
borderWidth: 2,
|
||||
buttonSize: 40,
|
||||
fillColor: FlutterFlowTheme.of(context)
|
||||
fillColor: AppAppAppAppAppAppAppAppAppTheme
|
||||
.primaryBackground,
|
||||
icon: Icon(
|
||||
Icons.delete_outline_rounded,
|
||||
color: FlutterFlowTheme.of(context).error,
|
||||
color: AppAppAppAppAppAppAppAppAppTheme.error,
|
||||
size: 24,
|
||||
),
|
||||
onPressed: () {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import '/flutter_flow/flutter_flow_theme.dart';
|
||||
import '/flutter_flow/flutter_flow_util.dart';
|
||||
import 'package:flutterflow_ui/flutterflow_ui.dart';
|
||||
import 'model_item_widget.dart' show ModelItemWidget;
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:google_fonts/google_fonts.dart';
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import '/flutter_flow/flutter_flow_theme.dart';
|
||||
import '/flutter_flow/flutter_flow_util.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';
|
||||
@@ -49,7 +48,7 @@ class _ModelItemWidgetState extends State<ModelItemWidget> {
|
||||
}),
|
||||
child: Container(
|
||||
decoration: BoxDecoration(
|
||||
color: FlutterFlowTheme.of(context).primaryBackground,
|
||||
color: AppAppAppAppAppAppAppAppAppTheme.primaryBackground,
|
||||
borderRadius: BorderRadius.circular(0),
|
||||
),
|
||||
child: Padding(
|
||||
@@ -61,10 +60,10 @@ class _ModelItemWidgetState extends State<ModelItemWidget> {
|
||||
width: 40,
|
||||
height: 40,
|
||||
decoration: BoxDecoration(
|
||||
color: FlutterFlowTheme.of(context).accent1,
|
||||
color: AppAppAppAppAppAppAppAppAppTheme.accent1,
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
border: Border.all(
|
||||
color: FlutterFlowTheme.of(context).primary,
|
||||
color: AppAppAppAppAppAppAppAppAppTheme.primary,
|
||||
width: 2,
|
||||
),
|
||||
),
|
||||
@@ -73,7 +72,7 @@ class _ModelItemWidgetState extends State<ModelItemWidget> {
|
||||
child: Text(
|
||||
'A',
|
||||
textAlign: TextAlign.center,
|
||||
style: FlutterFlowTheme.of(context).bodyLarge.override(
|
||||
style: AppAppAppAppAppAppAppAppAppTheme.bodyLarge.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
letterSpacing: 0,
|
||||
fontWeight: FontWeight.bold,
|
||||
@@ -91,7 +90,7 @@ class _ModelItemWidgetState extends State<ModelItemWidget> {
|
||||
children: [
|
||||
Text(
|
||||
'Randy Peterson',
|
||||
style: FlutterFlowTheme.of(context).bodyMedium.override(
|
||||
style: AppAppAppAppAppAppAppAppAppTheme.bodyMedium.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
letterSpacing: 0,
|
||||
fontWeight: FontWeight.bold,
|
||||
@@ -102,9 +101,9 @@ class _ModelItemWidgetState extends State<ModelItemWidget> {
|
||||
child: Text(
|
||||
'name@domainname.com',
|
||||
style:
|
||||
FlutterFlowTheme.of(context).bodySmall.override(
|
||||
AppAppAppAppAppAppAppAppAppTheme.bodySmall.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
color: FlutterFlowTheme.of(context).primary,
|
||||
color: AppAppAppAppAppAppAppAppAppTheme.primary,
|
||||
letterSpacing: 0,
|
||||
),
|
||||
),
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import '/flutter_flow/flutter_flow_theme.dart';
|
||||
import '/flutter_flow/flutter_flow_util.dart';
|
||||
import 'package:flutterflow_ui/flutterflow_ui.dart';
|
||||
import 'no_chats_widget.dart' show NoChatsWidget;
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:google_fonts/google_fonts.dart';
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import '/flutter_flow/flutter_flow_theme.dart';
|
||||
import '/flutter_flow/flutter_flow_util.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';
|
||||
@@ -60,9 +59,9 @@ class _NoChatsWidgetState extends State<NoChatsWidget> {
|
||||
child: Text(
|
||||
widget.title,
|
||||
textAlign: TextAlign.center,
|
||||
style: FlutterFlowTheme.of(context).headlineSmall.override(
|
||||
style: AppAppAppAppAppAppAppAppAppTheme.headlineSmall.override(
|
||||
fontFamily: 'Outfit',
|
||||
color: FlutterFlowTheme.of(context).primaryText,
|
||||
color: AppAppAppAppAppAppAppAppAppTheme.primaryText,
|
||||
letterSpacing: 0,
|
||||
),
|
||||
),
|
||||
@@ -72,7 +71,7 @@ class _NoChatsWidgetState extends State<NoChatsWidget> {
|
||||
child: Text(
|
||||
widget.body,
|
||||
textAlign: TextAlign.center,
|
||||
style: FlutterFlowTheme.of(context).labelMedium.override(
|
||||
style: AppAppAppAppAppAppAppAppAppTheme.labelMedium.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
letterSpacing: 0,
|
||||
),
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import '/flutter_flow/flutter_flow_theme.dart';
|
||||
import '/flutter_flow/flutter_flow_util.dart';
|
||||
import 'package:flutterflow_ui/flutterflow_ui.dart';
|
||||
import 'options_dialog_widget.dart' show OptionsDialogWidget;
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:google_fonts/google_fonts.dart';
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
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';
|
||||
@@ -86,7 +83,7 @@ class _PopupWidgetState extends State<PopupWidget> {
|
||||
padding: const EdgeInsetsDirectional.fromSTEB(0, 0, 12, 0),
|
||||
child: Text(
|
||||
'Refine the components modal.',
|
||||
style: FlutterFlowTheme.of(context)
|
||||
style: AppAppAppAppAppAppAppAppAppTheme
|
||||
.headlineMedium
|
||||
.override(
|
||||
fontFamily: 'Outfit',
|
||||
@@ -121,7 +118,7 @@ class _PopupWidgetState extends State<PopupWidget> {
|
||||
),
|
||||
Text(
|
||||
'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(
|
||||
style: AppAppAppAppAppAppAppAppAppTheme.labelMedium.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
color: const Color(0xFF57636C),
|
||||
fontSize: 14,
|
||||
@@ -148,7 +145,7 @@ class _PopupWidgetState extends State<PopupWidget> {
|
||||
const EdgeInsetsDirectional.fromSTEB(0, 0, 0, 0),
|
||||
color: Colors.white,
|
||||
textStyle:
|
||||
FlutterFlowTheme.of(context).bodySmall.override(
|
||||
AppAppAppAppAppAppAppAppAppTheme.bodySmall.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
color: const Color(0xFF14181B),
|
||||
fontSize: 12,
|
||||
@@ -177,7 +174,7 @@ class _PopupWidgetState extends State<PopupWidget> {
|
||||
iconPadding:
|
||||
const EdgeInsetsDirectional.fromSTEB(0, 0, 0, 0),
|
||||
color: const Color(0xFF4B39EF),
|
||||
textStyle: FlutterFlowTheme.of(context)
|
||||
textStyle: AppAppAppAppAppAppAppAppAppTheme
|
||||
.titleSmall
|
||||
.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
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 'popup_widget.dart' show PopupWidget;
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:google_fonts/google_fonts.dart';
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
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';
|
||||
@@ -86,7 +83,7 @@ class _PopupWidgetState extends State<PopupWidget> {
|
||||
padding: const EdgeInsetsDirectional.fromSTEB(0, 0, 12, 0),
|
||||
child: Text(
|
||||
'Refine the components modal.',
|
||||
style: FlutterFlowTheme.of(context)
|
||||
style: AppAppAppAppAppAppAppAppAppTheme
|
||||
.headlineMedium
|
||||
.override(
|
||||
fontFamily: 'Outfit',
|
||||
@@ -121,7 +118,7 @@ class _PopupWidgetState extends State<PopupWidget> {
|
||||
),
|
||||
Text(
|
||||
'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(
|
||||
style: AppAppAppAppAppAppAppAppAppTheme.labelMedium.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
color: const Color(0xFF57636C),
|
||||
fontSize: 14,
|
||||
@@ -148,7 +145,7 @@ class _PopupWidgetState extends State<PopupWidget> {
|
||||
const EdgeInsetsDirectional.fromSTEB(0, 0, 0, 0),
|
||||
color: Colors.white,
|
||||
textStyle:
|
||||
FlutterFlowTheme.of(context).bodySmall.override(
|
||||
AppAppAppAppAppAppAppAppAppTheme.bodySmall.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
color: const Color(0xFF14181B),
|
||||
fontSize: 12,
|
||||
@@ -177,7 +174,7 @@ class _PopupWidgetState extends State<PopupWidget> {
|
||||
iconPadding:
|
||||
const EdgeInsetsDirectional.fromSTEB(0, 0, 0, 0),
|
||||
color: const Color(0xFF4B39EF),
|
||||
textStyle: FlutterFlowTheme.of(context)
|
||||
textStyle: AppAppAppAppAppAppAppAppAppTheme
|
||||
.titleSmall
|
||||
.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
import '/flutter_flow/flutter_flow_icon_button.dart';
|
||||
import '/flutter_flow/flutter_flow_theme.dart';
|
||||
import '/flutter_flow/flutter_flow_util.dart';
|
||||
import 'package:flutterflow_ui/flutterflow_ui.dart';
|
||||
import 'prompt_box_widget.dart' show PromptBoxWidget;
|
||||
import 'package:easy_debounce/easy_debounce.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
import '/flutter_flow/flutter_flow_icon_button.dart';
|
||||
import '/flutter_flow/flutter_flow_theme.dart';
|
||||
import '/flutter_flow/flutter_flow_util.dart';
|
||||
import 'package:flutterflow_ui/flutterflow_ui.dart';
|
||||
import 'package:easy_debounce/easy_debounce.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:google_fonts/google_fonts.dart';
|
||||
@@ -47,7 +45,7 @@ class _PromptBoxWidgetState extends State<PromptBoxWidget> {
|
||||
child: Container(
|
||||
width: double.infinity,
|
||||
decoration: BoxDecoration(
|
||||
color: FlutterFlowTheme.of(context).secondaryBackground,
|
||||
color: AppAppAppAppAppAppAppAppAppTheme.secondaryBackground,
|
||||
borderRadius: BorderRadius.circular(10),
|
||||
),
|
||||
alignment: const AlignmentDirectional(0, 0),
|
||||
@@ -69,7 +67,7 @@ class _PromptBoxWidgetState extends State<PromptBoxWidget> {
|
||||
buttonSize: 40,
|
||||
icon: Icon(
|
||||
Icons.file_upload_outlined,
|
||||
color: FlutterFlowTheme.of(context).secondaryText,
|
||||
color: AppAppAppAppAppAppAppAppAppTheme.secondaryText,
|
||||
size: 30,
|
||||
),
|
||||
onPressed: () {
|
||||
@@ -88,7 +86,7 @@ class _PromptBoxWidgetState extends State<PromptBoxWidget> {
|
||||
buttonSize: 40,
|
||||
icon: Icon(
|
||||
Icons.photo_outlined,
|
||||
color: FlutterFlowTheme.of(context).secondaryText,
|
||||
color: AppAppAppAppAppAppAppAppAppTheme.secondaryText,
|
||||
size: 30,
|
||||
),
|
||||
onPressed: () {
|
||||
@@ -107,7 +105,7 @@ class _PromptBoxWidgetState extends State<PromptBoxWidget> {
|
||||
buttonSize: 40,
|
||||
icon: Icon(
|
||||
Icons.mic_none,
|
||||
color: FlutterFlowTheme.of(context).secondaryText,
|
||||
color: AppAppAppAppAppAppAppAppAppTheme.secondaryText,
|
||||
size: 30,
|
||||
),
|
||||
onPressed: () {
|
||||
@@ -126,7 +124,7 @@ class _PromptBoxWidgetState extends State<PromptBoxWidget> {
|
||||
buttonSize: 40,
|
||||
icon: Icon(
|
||||
Icons.videocam_outlined,
|
||||
color: FlutterFlowTheme.of(context).secondaryText,
|
||||
color: AppAppAppAppAppAppAppAppAppTheme.secondaryText,
|
||||
size: 30,
|
||||
),
|
||||
onPressed: () {
|
||||
@@ -145,7 +143,7 @@ class _PromptBoxWidgetState extends State<PromptBoxWidget> {
|
||||
buttonSize: 40,
|
||||
icon: Icon(
|
||||
Icons.camera_alt_outlined,
|
||||
color: FlutterFlowTheme.of(context).secondaryText,
|
||||
color: AppAppAppAppAppAppAppAppAppTheme.secondaryText,
|
||||
size: 30,
|
||||
),
|
||||
onPressed: () {
|
||||
@@ -177,16 +175,16 @@ class _PromptBoxWidgetState extends State<PromptBoxWidget> {
|
||||
obscureText: false,
|
||||
decoration: InputDecoration(
|
||||
isDense: false,
|
||||
counterStyle: FlutterFlowTheme.of(context)
|
||||
counterStyle: AppAppAppAppAppAppAppAppAppTheme
|
||||
.bodyMedium
|
||||
.override(
|
||||
fontFamily: 'Readex Pro',
|
||||
color: FlutterFlowTheme.of(context).secondaryText,
|
||||
color: AppAppAppAppAppAppAppAppAppTheme.secondaryText,
|
||||
letterSpacing: 0,
|
||||
),
|
||||
enabledBorder: OutlineInputBorder(
|
||||
borderSide: BorderSide(
|
||||
color: FlutterFlowTheme.of(context).secondaryText,
|
||||
color: AppAppAppAppAppAppAppAppAppTheme.secondaryText,
|
||||
width: 2,
|
||||
),
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
@@ -213,14 +211,14 @@ class _PromptBoxWidgetState extends State<PromptBoxWidget> {
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
),
|
||||
filled: true,
|
||||
fillColor: FlutterFlowTheme.of(context).alternate,
|
||||
fillColor: AppAppAppAppAppAppAppAppAppTheme.alternate,
|
||||
suffixIcon: Icon(
|
||||
Icons.send,
|
||||
color: FlutterFlowTheme.of(context).primary,
|
||||
color: AppAppAppAppAppAppAppAppAppTheme.primary,
|
||||
size: 30,
|
||||
),
|
||||
),
|
||||
style: FlutterFlowTheme.of(context).bodyMedium.override(
|
||||
style: AppAppAppAppAppAppAppAppAppTheme.bodyMedium.override(
|
||||
fontFamily: 'Lato',
|
||||
fontSize: 14,
|
||||
letterSpacing: 0,
|
||||
|
||||
+5
-109
@@ -1,4 +1,6 @@
|
||||
import 'package:app/pages/settings_widget.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'theme.dart';
|
||||
|
||||
void main() {
|
||||
runApp(const MyApp());
|
||||
@@ -10,116 +12,10 @@ class MyApp extends StatelessWidget {
|
||||
// This widget is the root of your application.
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return MaterialApp(
|
||||
|
||||
return const MaterialApp(
|
||||
title: 'Flutter Demo',
|
||||
theme: ThemeData(
|
||||
// This is the theme of your application.
|
||||
//
|
||||
// TRY THIS: Try running your application with "flutter run". You'll see
|
||||
// the application has a purple toolbar. Then, without quitting the app,
|
||||
// try changing the seedColor in the colorScheme below to Colors.green
|
||||
// and then invoke "hot reload" (save your changes or press the "hot
|
||||
// reload" button in a Flutter-supported IDE, or press "r" if you used
|
||||
// the command line to start the app).
|
||||
//
|
||||
// Notice that the counter didn't reset back to zero; the application
|
||||
// state is not lost during the reload. To reset the state, use hot
|
||||
// restart instead.
|
||||
//
|
||||
// This works for code too, not just values: Most code changes can be
|
||||
// tested with just a hot reload.
|
||||
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
|
||||
useMaterial3: true,
|
||||
),
|
||||
home: const MyHomePage(title: 'Flutter Demo Home Page'),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
class MyHomePage extends StatefulWidget {
|
||||
const MyHomePage({super.key, required this.title});
|
||||
|
||||
// This widget is the home page of your application. It is stateful, meaning
|
||||
// that it has a State object (defined below) that contains fields that affect
|
||||
// how it looks.
|
||||
|
||||
// This class is the configuration for the state. It holds the values (in this
|
||||
// case the title) provided by the parent (in this case the App widget) and
|
||||
// used by the build method of the State. Fields in a Widget subclass are
|
||||
// always marked "final".
|
||||
|
||||
final String title;
|
||||
|
||||
@override
|
||||
State<MyHomePage> createState() => _MyHomePageState();
|
||||
}
|
||||
|
||||
class _MyHomePageState extends State<MyHomePage> {
|
||||
int _counter = 0;
|
||||
|
||||
void _incrementCounter() {
|
||||
setState(() {
|
||||
// This call to setState tells the Flutter framework that something has
|
||||
// changed in this State, which causes it to rerun the build method below
|
||||
// so that the display can reflect the updated values. If we changed
|
||||
// _counter without calling setState(), then the build method would not be
|
||||
// called again, and so nothing would appear to happen.
|
||||
_counter++;
|
||||
});
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
// This method is rerun every time setState is called, for instance as done
|
||||
// by the _incrementCounter method above.
|
||||
//
|
||||
// The Flutter framework has been optimized to make rerunning build methods
|
||||
// fast, so that you can just rebuild anything that needs updating rather
|
||||
// than having to individually change instances of widgets.
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
// TRY THIS: Try changing the color here to a specific color (to
|
||||
// Colors.amber, perhaps?) and trigger a hot reload to see the AppBar
|
||||
// change color while the other colors stay the same.
|
||||
backgroundColor: Theme.of(context).colorScheme.inversePrimary,
|
||||
// Here we take the value from the MyHomePage object that was created by
|
||||
// the App.build method, and use it to set our appbar title.
|
||||
title: Text(widget.title),
|
||||
),
|
||||
body: Center(
|
||||
// Center is a layout widget. It takes a single child and positions it
|
||||
// in the middle of the parent.
|
||||
child: Column(
|
||||
// Column is also a layout widget. It takes a list of children and
|
||||
// arranges them vertically. By default, it sizes itself to fit its
|
||||
// children horizontally, and tries to be as tall as its parent.
|
||||
//
|
||||
// Column has various properties to control how it sizes itself and
|
||||
// how it positions its children. Here we use mainAxisAlignment to
|
||||
// center the children vertically; the main axis here is the vertical
|
||||
// axis because Columns are vertical (the cross axis would be
|
||||
// horizontal).
|
||||
//
|
||||
// TRY THIS: Invoke "debug painting" (choose the "Toggle Debug Paint"
|
||||
// action in the IDE, or press "p" in the console), to see the
|
||||
// wireframe for each widget.
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: <Widget>[
|
||||
const Text(
|
||||
'You have pushed the button this many times:',
|
||||
),
|
||||
Text(
|
||||
'$_counter',
|
||||
style: Theme.of(context).textTheme.headlineMedium,
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
floatingActionButton: FloatingActionButton(
|
||||
onPressed: _incrementCounter,
|
||||
tooltip: 'Increment',
|
||||
child: const Icon(Icons.add),
|
||||
), // This trailing comma makes auto-formatting nicer for build methods.
|
||||
home: SettingsWidget(),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class AppTheme {
|
||||
static const primary = Colors.deepPurple;
|
||||
static const secondary = Colors.deepPurpleAccent;
|
||||
static const tertiary = Colors.white;
|
||||
static const alternate = Colors.purple;
|
||||
|
||||
static const primaryBackground = Colors.purple;
|
||||
static const secondaryBackground = Colors.purpleAccent;
|
||||
|
||||
static const primaryText = Colors.white;
|
||||
static const secondaryText = Colors.white;
|
||||
static const bodyMedium = TextStyle(color: Colors.white, fontSize: 12);
|
||||
|
||||
static const error = Colors.red;
|
||||
|
||||
static const labelMedium = TextStyle(color: Colors.grey, fontSize: 16);
|
||||
static const labelLarge = TextStyle(color: Colors.black, fontSize: 24);
|
||||
|
||||
static const headlineMedium = TextStyle(color: Colors.blue, fontWeight: FontWeight.bold);
|
||||
|
||||
static const titleLarge = TextStyle(fontFamily: 'Outfit', letterSpacing: 0, fontSize: 24);
|
||||
static const titleSmall = TextStyle(fontFamily: 'Outfit', letterSpacing: 0, fontSize: 16);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user