Skip to content

Commit

Permalink
::pencil2: Fix variable error
Browse files Browse the repository at this point in the history
  • Loading branch information
iqfareez committed Feb 13, 2024
1 parent 9d8d064 commit a0ca358
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions lib/views/contribution_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ class ContributionPage extends StatelessWidget {
}
}

// ignore: must_be_immutable
class _MyCard extends StatelessWidget {
const _MyCard({
required this.title,
Expand All @@ -94,7 +93,6 @@ class _MyCard extends StatelessWidget {

final String title;
final String? description;
final String? extraDescription;
final List<Widget>? actions;

@override
Expand All @@ -113,14 +111,6 @@ class _MyCard extends StatelessWidget {
),
subtitle: Text('\n$description'),
),
if (extraDescription != null)
Padding(
padding: const EdgeInsets.only(top: 8),
child: Text(
extraDescription!,
textAlign: TextAlign.start,
),
),
if (actions != null)
Row(mainAxisAlignment: MainAxisAlignment.end, children: actions!)
],
Expand Down

0 comments on commit a0ca358

Please sign in to comment.