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:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user