1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-12 07:48:55 +00:00

Remove unnecessary types (#946)

This commit is contained in:
Ahmed Ashour
2022-01-05 01:39:45 +01:00
committed by GitHub
parent 7b5f1e52b4
commit 50d5dd968b
4 changed files with 6 additions and 6 deletions

View File

@@ -76,7 +76,7 @@ class SettingsContent extends StatelessWidget {
builder: (context) => AlertDialog(
title: const Text('Alert!'),
content: const Text('The alert description goes here.'),
actions: <Widget>[
actions: [
TextButton(
onPressed: () => Navigator.pop(context, 'Cancel'),
child: const Text('Cancel'),