Skip to content

Commit

Permalink
[PDA-45] fix: 비품 검색 UI 높이 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
chayoosang committed Dec 3, 2023
1 parent 79e05d4 commit 050771f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/View/equipment/component/equipment_cell.dart
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class _EquipmentCellState extends State<EquipmentCell> {
)
],
),
margin: const EdgeInsets.only(top: 10),
margin: const EdgeInsets.symmetric(horizontal: 20, vertical: 10),
child: Row(
children: [
Container(
Expand Down
10 changes: 7 additions & 3 deletions lib/View/equipment/screen/equipment_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,12 @@ class EquipmentScreenState extends State<EquipmentScreen>
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.white,
resizeToAvoidBottomInset: false,
appBar: const MainAppBar(),
body: futureBody(),
body: SingleChildScrollView(
child: futureBody(),
),
floatingActionButton: FloatingActionButton(
onPressed: () {
moveToAddEquipment();
Expand Down Expand Up @@ -70,7 +74,7 @@ class EquipmentScreenState extends State<EquipmentScreen>
return Column(
children: [
Container(
margin: const EdgeInsets.symmetric(horizontal: 10, vertical: 10),
margin: const EdgeInsets.only(top: 10, left: 20, right: 20),
width: MediaQuery.of(context).size.width,
height: 36,
decoration: const BoxDecoration(
Expand Down Expand Up @@ -106,12 +110,12 @@ class EquipmentScreenState extends State<EquipmentScreen>
),
),
Container(
margin: const EdgeInsets.only(top: 7),
height: MediaQuery.of(context).size.height * 0.7,
color: Colors.white,
child: equipmentList.isEmpty
? noDataBody()
: ListView.builder(
padding: const EdgeInsets.only(left: 20, right: 20, top: 7),
scrollDirection: Axis.vertical,
itemCount: equipmentList.length,
itemBuilder: (BuildContext context, int index) {
Expand Down

0 comments on commit 050771f

Please sign in to comment.