Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced headline6 with titleLarge #197

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/src/widgets/birthday_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class _BirthdayWidgetState extends BaseState<BirthdayWidget> {
textAlign: TextAlign.center,
style: TextStyle(
fontWeight: FontWeight.w500,
color: context.textTheme().headline6?.color,
color: context.textTheme().titleLarge?.color,
fontSize: 15.0,
),
),
Expand Down
2 changes: 1 addition & 1 deletion lib/src/widgets/checkout/checkout_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ class _CheckoutWidgetState extends BaseState<CheckoutWidget>
child: Text(Utils.formatAmount(_charge.amount),
style: TextStyle(
fontSize: 15.0,
color: context.textTheme().headline6?.color,
color: context.textTheme().titleLarge?.color,
fontWeight: FontWeight.bold)))
],
)
Expand Down
2 changes: 1 addition & 1 deletion lib/src/widgets/custom_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class CustomAlertDialog extends StatelessWidget {
children.add(new Padding(
padding: titlePadding!,
child: new DefaultTextStyle(
style: context.textTheme().headline6!,
style: context.textTheme().titleLarge!,
child: new Semantics(child: title, namesRoute: true),
),
));
Expand Down
2 changes: 1 addition & 1 deletion lib/src/widgets/otp_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class _OtpWidgetState extends BaseState<OtpWidget> {
textAlign: TextAlign.center,
style: TextStyle(
fontWeight: FontWeight.w500,
color: context.textTheme().headline6?.color,
color: context.textTheme().titleLarge?.color,
fontSize: 15.0,
),
),
Expand Down
2 changes: 1 addition & 1 deletion lib/src/widgets/pin_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class _PinWidgetState extends BaseState<PinWidget> {
textAlign: TextAlign.center,
style: TextStyle(
fontWeight: FontWeight.w500,
color: context.textTheme().headline6?.color,
color: context.textTheme().titleLarge?.color,
fontSize: 15.0,
),
),
Expand Down
5 changes: 3 additions & 2 deletions lib/src/widgets/sucessful_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class _SuccessfulWidgetState extends State<SuccessfulWidget>
Text(
'Payment Successful',
style: TextStyle(
color: context.textTheme().headline6?.color,
color: context.textTheme().titleLarge?.color,
fontWeight: FontWeight.w500,
fontSize: 16.0,
),
Expand All @@ -98,7 +98,8 @@ class _SuccessfulWidgetState extends State<SuccessfulWidget>
? new Container()
: new Text('You paid ${Utils.formatAmount(widget.amount)}',
style: TextStyle(
color: context.textTheme().headline6?.color,
color: context.textTheme().titleLarge?.color,

fontWeight: FontWeight.normal,
fontSize: 14.0,
)),
Expand Down