Skip to content

Commit

Permalink
Styling getters implementation fit 3.22.1
Browse files Browse the repository at this point in the history
  • Loading branch information
omygo2 committed May 28, 2024
1 parent 1ebab54 commit 6b6a533
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/http_log_list_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ class _HttpLogListWidgetState extends State<HttpLogListWidget> {
child: Align(
child: Text(
debugBtnIsShow() ? 'close overlay' : 'open overlay',
style: theme.textTheme.caption!
.copyWith(fontWeight: FontWeight.bold),
style: theme.textTheme.headlineLarge
?.copyWith(fontWeight: FontWeight.bold),
),
),
),
Expand All @@ -60,8 +60,8 @@ class _HttpLogListWidgetState extends State<HttpLogListWidget> {
child: Align(
child: Text(
'clear',
style: theme.textTheme.caption!
.copyWith(fontWeight: FontWeight.bold),
style: theme.textTheme.headlineLarge
?.copyWith(fontWeight: FontWeight.bold),
),
),
),
Expand Down Expand Up @@ -93,7 +93,7 @@ class _HttpLogListWidgetState extends State<HttpLogListWidget> {

Color? textColor = LogPoolManager.getInstance().isError(item)
? Colors.red
: Theme.of(context).textTheme.bodyText1!.color;
: Theme.of(context).textTheme.bodyLarge!.color;
return Card(
margin: EdgeInsets.all(8),
elevation: 6,
Expand Down

0 comments on commit 6b6a533

Please sign in to comment.