fix scroling when list is long
This commit is contained in:
parent
74bb6c8ec4
commit
57ffee76a0
6 changed files with 15 additions and 9 deletions
|
|
@ -303,6 +303,7 @@ class _BuildEmployeeListState extends State<BuildEmployeeList> {
|
|||
Widget build(BuildContext context) {
|
||||
return ListView.separated(
|
||||
shrinkWrap: true,
|
||||
physics: const NeverScrollableScrollPhysics(),
|
||||
separatorBuilder: (BuildContext context, index) {
|
||||
return Divider(
|
||||
color: MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
|
|
|
|||
|
|
@ -250,6 +250,7 @@ class _BuildUserListState extends State<BuildUserList> {
|
|||
Widget build(BuildContext context) {
|
||||
return ListView.separated(
|
||||
shrinkWrap: true,
|
||||
physics: const NeverScrollableScrollPhysics(),
|
||||
separatorBuilder: (BuildContext context, index) {
|
||||
return Divider(
|
||||
color: MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue