Skip to content

Commit 33f13c9

Browse files
authored
Stop ignoring and fix library_private_types_in_public_api (#32)
1 parent 3c960f3 commit 33f13c9

File tree

7 files changed

+5
-11
lines changed

7 files changed

+5
-11
lines changed

analysis_options.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
analyzer:
2-
errors:
3-
library_private_types_in_public_api: ignore
41
include: package:flutter_lints/flutter.yaml

example/analysis_options.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
analyzer:
2-
errors:
3-
library_private_types_in_public_api: ignore
41
include: package:flutter_lints/flutter.yaml

example/lib/recipes/pages/edit_recipe_page.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class EditRecipePage extends StatefulWidget {
2525
final Recipe recipe;
2626

2727
@override
28-
_EditRecipePageState createState() => _EditRecipePageState();
28+
State<EditRecipePage> createState() => _EditRecipePageState();
2929
}
3030

3131
class _EditRecipePageState extends State<EditRecipePage> {

example/lib/recipes/pages/home_page.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class HomePage extends StatefulWidget {
1616
const HomePage({super.key});
1717

1818
@override
19-
_HomePageState createState() => _HomePageState();
19+
State<HomePage> createState() => _HomePageState();
2020
}
2121

2222
class _HomePageState extends State<HomePage> {

example/lib/recipes/views/recipe_list_view.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class RecipeListView extends StatefulWidget {
1515
const RecipeListView({super.key, required this.searchText});
1616

1717
@override
18-
_RecipeListViewState createState() => _RecipeListViewState();
18+
State<RecipeListView> createState() => _RecipeListViewState();
1919
}
2020

2121
class _RecipeListViewState extends State<RecipeListView> {

example/lib/recipes/views/search_box.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class SearchBox extends StatefulWidget {
1010
const SearchBox({super.key, required this.onSearchChanged});
1111

1212
@override
13-
_SearchBoxState createState() => _SearchBoxState();
13+
State<SearchBox> createState() => _SearchBoxState();
1414
}
1515

1616
class _SearchBoxState extends State<SearchBox>

lib/src/views/jumping_dots_progress_indicator/jumping_dots_progress_indicator.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class JumpingDotsProgressIndicator extends StatefulWidget {
4343
final int milliseconds;
4444

4545
@override
46-
_JumpingDotsProgressIndicatorState createState() =>
46+
State<JumpingDotsProgressIndicator> createState() =>
4747
_JumpingDotsProgressIndicatorState();
4848
}
4949

0 commit comments

Comments
 (0)