Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #24 from langx:bug-profile-about-me-fix-scroller
Browse files Browse the repository at this point in the history
1.Fix the problem of rolling inside the card.
  • Loading branch information
xuelink authored Jun 26, 2024
2 parents 15b8849 + 2e94fe3 commit f995b66
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions lib/components/profile_about_me_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,16 @@ class ProfileAboutMeCard extends StatelessWidget {
final bool verifiedemail;
final String? aboutMe;

const ProfileAboutMeCard(
{super.key,
required this.country,
required this.gender,
required this.age,
required this.registeredNum,
required this.userID,
required this.verifiedemail,
this.aboutMe});
const ProfileAboutMeCard({
super.key,
required this.country,
required this.gender,
required this.age,
required this.registeredNum,
required this.userID,
required this.verifiedemail,
this.aboutMe,
});

@override
Widget build(BuildContext context) {
Expand Down Expand Up @@ -78,6 +79,8 @@ class ProfileAboutMeCard extends StatelessWidget {
),
Expanded(
child: ListView(
physics:
const NeverScrollableScrollPhysics(), // disable scrolling
children: [
ListTile(
leading: const InfoSvg(
Expand Down

0 comments on commit f995b66

Please sign in to comment.