Skip to content

Commit

Permalink
refactor: Remove ignores for disabled rule
Browse files Browse the repository at this point in the history
  • Loading branch information
witwash committed Dec 13, 2023
1 parent a23a1b0 commit 823f210
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions optimus/lib/src/typography/highlight.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ class OptimusHighlightMajor extends StatelessWidget {

@override
Widget build(BuildContext context) => OptimusTypography(
// ignore: prefer-correct-handler-name, false trigger on global function
resolveStyle: preset600b,
align: align,
child: child,
Expand All @@ -52,7 +51,6 @@ class OptimusHighlightModerate extends StatelessWidget {

@override
Widget build(BuildContext context) => OptimusTypography(
// ignore: prefer-correct-handler-name, false trigger on global function
resolveStyle: preset500b,
align: align,
child: child,
Expand All @@ -78,7 +76,6 @@ class OptimusHighlightMinor extends StatelessWidget {

@override
Widget build(BuildContext context) => OptimusTypography(
// ignore: prefer-correct-handler-name, false trigger on global function
resolveStyle: preset400b,
align: align,
child: child,
Expand Down
4 changes: 0 additions & 4 deletions optimus/lib/src/typography/title.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ class OptimusPageTitle extends StatelessWidget {

@override
Widget build(BuildContext context) => OptimusTypography(
// ignore: prefer-correct-handler-name, false trigger on global function
resolveStyle: preset700b,
align: align,
child: child,
Expand All @@ -49,7 +48,6 @@ class OptimusSectionTitle extends StatelessWidget {

@override
Widget build(BuildContext context) => OptimusTypography(
// ignore: prefer-correct-handler-name, false trigger on global function
resolveStyle: preset600b,
align: align,
child: child,
Expand All @@ -75,7 +73,6 @@ class OptimusSubsectionTitle extends StatelessWidget {

@override
Widget build(BuildContext context) => OptimusTypography(
// ignore: prefer-correct-handler-name, false trigger on global function
resolveStyle: preset500b,
align: align,
child: child,
Expand All @@ -101,7 +98,6 @@ class OptimusSubtitle extends StatelessWidget {
@override
Widget build(BuildContext context) => OptimusTypography(
color: OptimusTypographyColor.secondary,
// ignore: prefer-correct-handler-name, false trigger on global function
resolveStyle: preset400b,
align: align,
child: child,
Expand Down

0 comments on commit 823f210

Please sign in to comment.