Skip to content

Commit

Permalink
fix: run dart format
Browse files Browse the repository at this point in the history
  • Loading branch information
parodyBit committed Oct 8, 2024
2 parents 8bc257b + 963bc30 commit acfdf18
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
4 changes: 3 additions & 1 deletion lib/screens/create_wallet/disclaimer_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ class DisclaimerCardState extends State<DisclaimerCard>
SizedBox(
height: 8,
),
Text(localization.walletSecurity01, style: theme.textTheme.bodyMedium?.copyWith(fontWeight: FontWeight.w400)),
Text(localization.walletSecurity01,
style: theme.textTheme.bodyMedium
?.copyWith(fontWeight: FontWeight.w400)),
SizedBox(
height: 8,
),
Expand Down
4 changes: 3 additions & 1 deletion lib/theme/dark_theme.dart
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ TextTheme textTheme = TextTheme(
color: WitnetPallet.white,
fontSize: 16,
),
titleSmall: bodyRegular.copyWith(fontSize: 9,),
titleSmall: bodyRegular.copyWith(
fontSize: 9,
),
bodyLarge: bodyBold.copyWith(
color: WitnetPallet.white,
fontSize: 13,
Expand Down
4 changes: 3 additions & 1 deletion lib/widgets/PaddedButton.dart
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,9 @@ class PaddedButton extends StatelessWidget {
style: ElevatedButton.styleFrom(
minimumSize: sizeCover ? Size(double.infinity, 54) : null,
),
child: isLoading ? buildCircularProgress(context, theme) : Text(text, style: theme.textTheme.labelMedium),
child: isLoading
? buildCircularProgress(context, theme)
: Text(text, style: theme.textTheme.labelMedium),
onPressed: onPressed,
);

Expand Down
2 changes: 1 addition & 1 deletion lib/widgets/link.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class CustomLink extends StatelessWidget {
padding: EdgeInsets.only(right: 8),
child: Text(text,
style: extendedTheme.monoRegularText!.copyWith(
color: contentColor,
color: contentColor,
decorationColor: contentColor,
decoration: TextDecoration.underline))),
onTap: () => {_launchUrl(url)},
Expand Down
3 changes: 2 additions & 1 deletion lib/widgets/select_wallet_box.dart
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ class SelectWalletBox extends StatelessWidget {
Text(
address,
overflow: TextOverflow.ellipsis,
style: extendedTheme.monoRegularText?.copyWith(color: WitnetPallet.white, height: 1.3),
style: extendedTheme.monoRegularText
?.copyWith(color: WitnetPallet.white, height: 1.3),
),
],
),
Expand Down

0 comments on commit acfdf18

Please sign in to comment.