1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-10 14:58:34 +00:00

Remove unneeded types (#949)

This commit is contained in:
Ahmed Ashour
2021-11-03 17:58:12 +01:00
committed by GitHub
parent 64805fe5b6
commit 29339b8334
30 changed files with 54 additions and 55 deletions

View File

@@ -17,7 +17,7 @@ class NewCategoryDialog extends StatelessWidget {
Widget build(BuildContext context) {
return const SimpleDialog(
title: Text('New Category'),
children: <Widget>[
children: [
NewCategoryForm(),
],
);

View File

@@ -27,7 +27,7 @@ class _NewEntryFormState extends State<NewEntryForm> {
return Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
children: [
Padding(
padding: const EdgeInsets.all(8.0),
child: CategoryDropdown(