Skip to content

Commit

Permalink
Merge pull request #169 from IamRezaMousavi/fix-deprecated-textstyles
Browse files Browse the repository at this point in the history
fix deprecated textstyles in collaborators page
  • Loading branch information
lucaantonelli authored Jul 2, 2024
2 parents 7aa5bd7 + 8f94262 commit 85cfb42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/pages/more_info_page/collaborators_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -122,19 +122,19 @@ class _CollaboratorsPageState extends ConsumerState<CollaboratorsPage> {
children: [
Text(
option[0].toString(),
style: Theme.of(context).textTheme.headline6!.copyWith(color: Theme.of(context).colorScheme.primary),
style: Theme.of(context).textTheme.titleLarge!.copyWith(color: Theme.of(context).colorScheme.primary),
textAlign: TextAlign.left,
),
const SizedBox(height: 4),
Text(
option[1].toString(),
style: Theme.of(context).textTheme.bodyText2!.copyWith(color: Theme.of(context).colorScheme.primary),
style: Theme.of(context).textTheme.bodyMedium!.copyWith(color: Theme.of(context).colorScheme.primary),
textAlign: TextAlign.left,
),
const SizedBox(height: 4),
Text(
option[2].toString(),
style: Theme.of(context).textTheme.caption!.copyWith(color: Theme.of(context).colorScheme.primary),
style: Theme.of(context).textTheme.bodySmall!.copyWith(color: Theme.of(context).colorScheme.primary),
textAlign: TextAlign.left,
),
],
Expand Down

0 comments on commit 85cfb42

Please sign in to comment.