📅  最后修改于: 2022-03-11 15:00:25.508000             🧑  作者: Mango
Builder(
builder: (context) => ElevatedButton(
onPressed: () {
Navigator.of(context).pushReplacementNamed('/mainapp');
},
child: Text("helloPressME")),
)