Skip to content

Commit 616364b

Browse files
Update main.dart
Removed the deprecated widget and add the corresponding button widget.
1 parent f4ea2c8 commit 616364b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class CalendarDisplayDate extends State<DisplayDate> {
2929
home: Scaffold(
3030
appBar: AppBar(
3131
actions: <Widget>[
32-
FlatButton(
32+
TextButton(
3333
onPressed: () {
3434
showDatePicker(
3535
context: context,

0 commit comments

Comments
 (0)