
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
1주차 수업 때 작업했던 프로젝트로 들어가보니 이전에 저장했던 것과 달라져있어요... 아이콘도 바뀌어있고 텍스트 폼 테두리 선도 사라져 있구요..
이게 왜 이런걸까요???
왼쪽이 과제로 제출한 화면이구요, 오른쪽이 지금 플러터플로우 들어가보니 이렇게 변경되어 있습니다...


해 주시면, 튜터님들이 빠르게 상황을 이해할 수 있어요.
작성한 코드 및 에러 메세지
import '/flutter_flow/flutter_flow_icon_button.dart';
import '/flutter_flow/flutter_flow_theme.dart';
import '/flutter_flow/flutter_flow_util.dart';
import '/flutter_flow/flutter_flow_widgets.dart';
import 'dart:ui';
import 'package:flutter/material.dart';
import 'package:flutter_spinkit/flutter_spinkit.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:provider/provider.dart';
import 'history_model.dart';
export 'history_model.dart';
class HistoryWidget extends StatefulWidget {
const HistoryWidget({super.key});
@override
State<HistoryWidget> createState() => _HistoryWidgetState();
}
class _HistoryWidgetState extends State<HistoryWidget> {
late HistoryModel _model;
final scaffoldKey = GlobalKey<ScaffoldState>();
@override
void initState() {
super.initState();
_model = createModel(context, () => HistoryModel());
_model.textController ??= TextEditingController(text: '검색어 입력');
_model.textFieldFocusNode ??= FocusNode();
}
@override
void dispose() {
_model.dispose();
super.dispose();
}
@override
Widget build(BuildContext context) {
return GestureDetector(
onTap: () {
FocusScope.of(context).unfocus();
FocusManager.instance.primaryFocus?.unfocus();
},
child: Scaffold(
key: scaffoldKey,
backgroundColor: Colors.white,
appBar: AppBar(
backgroundColor: FlutterFlowTheme.of(context).primary,
automaticallyImplyLeading: false,
leading: FlutterFlowIconButton(
borderColor: Colors.transparent,
borderRadius: 30,
borderWidth: 1,
buttonSize: 60,
icon: Icon(
Icons.menu_outlined,
color: Colors.white,
size: 30,
),
onPressed: () async {
context.pop();
},
),
title: Text(
'History',
style: FlutterFlowTheme.of(context).headlineMedium.override(
fontFamily: 'pretendard',
color: Colors.white,
fontSize: 22,
letterSpacing: 0.0,
useGoogleFonts: false,
),
),
actions: [],
centerTitle: false,
elevation: 2,
),
body: SafeArea(
top: true,
child: Padding(
padding: EdgeInsetsDirectional.fromSTEB(8, 32, 8, 0),
child: Column(
mainAxisSize: MainAxisSize.max,
mainAxisAlignment: MainAxisAlignment.start,
children: [
Padding(
padding: EdgeInsetsDirectional.fromSTEB(0, 0, 0, 8),
child: Container(
width: MediaQuery.sizeOf(context).width,
child: TextFormField(
controller: _model.textController,
focusNode: _model.textFieldFocusNode,
autofocus: false,
obscureText: false,
decoration: InputDecoration(
isDense: true,
labelStyle:
FlutterFlowTheme.of(context).labelMedium.override(
fontFamily: 'pretendard',
letterSpacing: 0.0,
useGoogleFonts: false,
),
alignLabelWithHint: true,
hintText: 'TextField',
hintStyle:
FlutterFlowTheme.of(context).labelMedium.override(
fontFamily: 'pretendard',
letterSpacing: 0.0,
useGoogleFonts: false,
),
enabledBorder: OutlineInputBorder(
borderSide: BorderSide(
color: Color(0xFFBDBEC0),
width: 2,
),
borderRadius: BorderRadius.circular(8),
),
focusedBorder: OutlineInputBorder(
borderSide: BorderSide(
color: Color(0x00000000),
width: 2,
),
borderRadius: BorderRadius.circular(8),
),
errorBorder: OutlineInputBorder(
borderSide: BorderSide(
color: FlutterFlowTheme.of(context).error,
width: 2,
),
borderRadius: BorderRadius.circular(8),
),
focusedErrorBorder: OutlineInputBorder(
borderSide: BorderSide(
color: FlutterFlowTheme.of(context).error,
width: 2,
),
borderRadius: BorderRadius.circular(8),
),
filled: true,
fillColor:
FlutterFlowTheme.of(context).secondaryBackground,
prefixIcon: Icon(
Icons.search_sharp,
color: Color(0xFFBDBEC0),
size: 24,
),
),
style: FlutterFlowTheme.of(context).bodyLarge.override(
fontFamily: 'pretendard',
color: Color(0xFFBDBEC0),
fontSize: 14,
letterSpacing: 0.0,
useGoogleFonts: false,
),
cursorColor: FlutterFlowTheme.of(context).primaryText,
validator:
_model.textControllerValidator.asValidator(context),
),
),
),
Divider(
thickness: 2,
color: FlutterFlowTheme.of(context).secondary,
),
Column(
mainAxisSize: MainAxisSize.max,
children: [
Padding(
padding: EdgeInsetsDirectional.fromSTEB(0, 4, 0, 4),
child: Row(
mainAxisSize: MainAxisSize.max,
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Padding(
padding: EdgeInsetsDirectional.fromSTEB(8, 0, 0, 0),
child: Row(
mainAxisSize: MainAxisSize.max,
mainAxisAlignment: MainAxisAlignment.start,
children: [
Padding(
padding: EdgeInsetsDirectional.fromSTEB(
0, 0, 8, 0),
child: Icon(
Icons.mail,
color: FlutterFlowTheme.of(context).primary,
size: 24,
),
),
Text(
'A열과 B열의 값을 차례대로 곱한 뒤 더해주는 수식',
style: FlutterFlowTheme.of(context)
.labelMedium
.override(
fontFamily: 'pretendard',
letterSpacing: 0.0,
fontWeight: FontWeight.w600,
useGoogleFonts: false,
),
),
],
),
),
Padding(
padding: EdgeInsetsDirectional.fromSTEB(0, 0, 8, 0),
child: Text(
'1/24',
style: FlutterFlowTheme.of(context)
.bodyMedium
.override(
fontFamily: 'pretendard',
letterSpacing: 0.0,
useGoogleFonts: false,
),
),
),
],
),
),
Padding(
padding: EdgeInsetsDirectional.fromSTEB(8, 4, 16, 4),
child: Row(
mainAxisSize: MainAxisSize.max,
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text(
'=SUMPRODUCT(A:A, B:B)',
style: FlutterFlowTheme.of(context)
.bodyMedium
.override(
fontFamily: 'pretendard',
color: FlutterFlowTheme.of(context).primary,
letterSpacing: 0.0,
fontWeight: FontWeight.w600,
useGoogleFonts: false,
),
),
FaIcon(
FontAwesomeIcons.trash,
color: FlutterFlowTheme.of(context).primaryText,
size: 20,
),
],
),
),
],
),
Divider(
thickness: 2,
color: FlutterFlowTheme.of(context).secondary,
),
Column(
mainAxisSize: MainAxisSize.max,
children: [
Padding(
padding: EdgeInsetsDirectional.fromSTEB(0, 4, 0, 4),
child: Row(
mainAxisSize: MainAxisSize.max,
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Padding(
padding: EdgeInsetsDirectional.fromSTEB(8, 0, 0, 0),
child: Row(
mainAxisSize: MainAxisSize.max,
mainAxisAlignment: MainAxisAlignment.start,
children: [
Padding(
padding: EdgeInsetsDirectional.fromSTEB(
0, 0, 8, 0),
child: Icon(
Icons.mail,
color: FlutterFlowTheme.of(context).primary,
size: 24,
),
),
Text(
'A와 B열의 값을 더해줘',
style: FlutterFlowTheme.of(context)
.labelMedium
.override(
fontFamily: 'pretendard',
letterSpacing: 0.0,
fontWeight: FontWeight.w600,
useGoogleFonts: false,
),
),
],
),
),
Padding(
padding: EdgeInsetsDirectional.fromSTEB(0, 0, 8, 0),
child: Text(
'1/24',
style: FlutterFlowTheme.of(context)
.bodyMedium
.override(
fontFamily: 'pretendard',
letterSpacing: 0.0,
useGoogleFonts: false,
),
),
),
],
),
),
Padding(
padding: EdgeInsetsDirectional.fromSTEB(8, 4, 16, 4),
child: Row(
mainAxisSize: MainAxisSize.max,
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text(
'=SUM(A1:B1)',
style: FlutterFlowTheme.of(context)
.bodyMedium
.override(
fontFamily: 'pretendard',
color: FlutterFlowTheme.of(context).primary,
letterSpacing: 0.0,
fontWeight: FontWeight.w600,
useGoogleFonts: false,
),
),
FaIcon(
FontAwesomeIcons.trash,
color: FlutterFlowTheme.of(context).primaryText,
size: 20,
),
],
),
),
],
),
Divider(
thickness: 2,
color: FlutterFlowTheme.of(context).secondary,
),
Column(
mainAxisSize: MainAxisSize.max,
children: [
Padding(
padding: EdgeInsetsDirectional.fromSTEB(0, 4, 0, 4),
child: Row(
mainAxisSize: MainAxisSize.max,
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Padding(
padding: EdgeInsetsDirectional.fromSTEB(8, 0, 0, 0),
child: Row(
mainAxisSize: MainAxisSize.max,
mainAxisAlignment: MainAxisAlignment.start,
children: [
Padding(
padding: EdgeInsetsDirectional.fromSTEB(
0, 0, 8, 0),
child: Icon(
Icons.mail,
color: FlutterFlowTheme.of(context).primary,
size: 24,
),
),
Text(
'A와 B열을 합쳐줘',
style: FlutterFlowTheme.of(context)
.labelMedium
.override(
fontFamily: 'pretendard',
letterSpacing: 0.0,
fontWeight: FontWeight.w600,
useGoogleFonts: false,
),
),
],
),
),
Padding(
padding: EdgeInsetsDirectional.fromSTEB(0, 0, 8, 0),
child: Text(
'1/24',
style: FlutterFlowTheme.of(context)
.bodyMedium
.override(
fontFamily: 'pretendard',
letterSpacing: 0.0,
useGoogleFonts: false,
),
),
),
],
),
),
Padding(
padding: EdgeInsetsDirectional.fromSTEB(8, 4, 16, 4),
child: Row(
mainAxisSize: MainAxisSize.max,
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text(
'=A1&\" \" &B1',
style: FlutterFlowTheme.of(context)
.bodyMedium
.override(
fontFamily: 'pretendard',
color: FlutterFlowTheme.of(context).primary,
letterSpacing: 0.0,
fontWeight: FontWeight.w600,
useGoogleFonts: false,
),
),
FaIcon(
FontAwesomeIcons.trash,
color: FlutterFlowTheme.of(context).primaryText,
size: 20,
),
],
),
),
],
),
],
),
),
),
),
);
}
}
