Skip to content

Commit

Permalink
feat: add SingleChildScrollView for scrolling in TypeMoverView
Browse files Browse the repository at this point in the history
  • Loading branch information
sipasi committed Nov 14, 2024
1 parent 9a33eaf commit e328690
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions lib/view/work_month/summary/type_mover/type_mover_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -56,20 +56,22 @@ class TypeMoverView extends StatelessWidget {
appBar: AppBar(
title: Text(state.unit.value),
),
body: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
ListTile(
title: Text('current type'),
subtitle: Text(state.moveFrom.name),
),
ListTile(
title: Text('move to type'),
subtitle: Text(state.moveTo.name),
onTap: () => _moveToHandler(context, state),
),
_list(state, context),
],
body: SingleChildScrollView(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
ListTile(
title: Text('current type'),
subtitle: Text(state.moveFrom.name),
),
ListTile(
title: Text('move to type'),
subtitle: Text(state.moveTo.name),
onTap: () => _moveToHandler(context, state),
),
_list(state, context),
],
),
),
floatingActionButton: _fab(state, context),
);
Expand Down

0 comments on commit e328690

Please sign in to comment.