Skip to content

Commit

Permalink
[demo] fixed analysis issues
Browse files Browse the repository at this point in the history
  • Loading branch information
daadu committed Sep 6, 2023
1 parent bb23366 commit 4bc3aea
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class ContextualControls extends StatefulWidget {
const ContextualControls({Key? key}) : super(key: key);

@override
_ContextualControlsState createState() => _ContextualControlsState();
State<ContextualControls> createState() => _ContextualControlsState();
}

class _ContextualControlsState extends State<ContextualControls> {
Expand Down Expand Up @@ -40,6 +40,7 @@ class _ContextualControlsState extends State<ContextualControls> {
}

Widget _createBackLayer(BuildContext context) => ListView(
shrinkWrap: true,
children: [
ListTile(
leading: const Column(
Expand Down Expand Up @@ -115,7 +116,6 @@ class _ContextualControlsState extends State<ContextualControls> {
onPressed: () => Backdrop.of(context).fling(),
))
],
shrinkWrap: true,
);

Widget _createFrontLayer(BuildContext context) => Container(
Expand Down
2 changes: 1 addition & 1 deletion demo/lib/use_cases/contextual_info/contextual_info.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class ContextualInfo extends StatelessWidget {
}

Widget _createBackLayer(BuildContext context) => ListView(
shrinkWrap: true,
children: const [
ListTile(
leading: Column(
Expand Down Expand Up @@ -75,7 +76,6 @@ class ContextualInfo extends StatelessWidget {
),
),
],
shrinkWrap: true,
);

Widget _createFrontLayer(BuildContext context) => Container(
Expand Down
2 changes: 1 addition & 1 deletion demo/lib/use_cases/filter/filter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Filter extends StatefulWidget {
const Filter({Key? key}) : super(key: key);

@override
_FilterState createState() => _FilterState();
State<Filter> createState() => _FilterState();
}

class _FilterState extends State<Filter> {
Expand Down
4 changes: 2 additions & 2 deletions demo/lib/use_cases/navigation/navigation.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class Navigation extends StatefulWidget {
const Navigation({Key? key}) : super(key: key);

@override
_NavigationState createState() => _NavigationState();
State<Navigation> createState() => _NavigationState();
}

class _NavigationState extends State<Navigation> {
Expand Down Expand Up @@ -87,6 +87,7 @@ class _ItemsPage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return ListView(
shrinkWrap: true,
children: const [
ListTile(
leading: Icon(Icons.computer),
Expand All @@ -105,7 +106,6 @@ class _ItemsPage extends StatelessWidget {
title: Text("Car"),
),
],
shrinkWrap: true,
);
}
}

0 comments on commit 4bc3aea

Please sign in to comment.