Flutter 最近应用列表 recent screens 不显示应用名的解决办法,在 MaterialApp
里把 title
属性加上即可
import 'package:flutter/material.dart'; void main() => runApp(new MyApp()); class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return new MaterialApp( debugShowCheckedModeBanner: false, title: 'Rectangle App', home: Scaffold( appBar: AppBar( title: Text('Rectangle App Home Page'), ), body: HelloRectangle(), ), ); } }
目前尚无回复