mirror of
https://github.com/alibaba/flutter-go.git
synced 2025-05-28 19:57:07 +08:00
fix:code url
This commit is contained in:
@ -10,12 +10,9 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
||||
class AlertDialogDemo extends StatefulWidget {
|
||||
_Demo createState() => _Demo();
|
||||
}
|
||||
class AlertDialogDemo extends StatelessWidget{
|
||||
// _Demo createState() => _Demo();
|
||||
|
||||
class _Demo extends State<AlertDialogDemo> {
|
||||
|
||||
void showAlertDialog(BuildContext context) {
|
||||
showDialog<void>(
|
||||
context: context,
|
||||
@ -141,3 +138,8 @@ class _Demo extends State<AlertDialogDemo> {
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
// class _Demo extends State<AlertDialogDemo> {
|
||||
|
||||
|
||||
// }
|
||||
|
Reference in New Issue
Block a user