import 'package:flutter/material.dart';

void main() {
  runApp(
    MaterialApp(
      title: '多任务管理器titer',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: HomePage(),
    ),
  );
}

class HomePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("本界面数据titer"),
      ),
    );
  }
}

Flutter MaterialApp里的title到底是什么?

相关文章:

  • 2021-06-13
  • 2021-12-04
  • 2021-11-22
  • 2021-10-31
  • 2021-03-30
  • 2021-08-04
  • 2021-11-25
猜你喜欢
  • 2021-12-18
  • 2021-11-15
  • 2022-12-23
  • 2022-12-23
  • 2021-08-05
  • 2021-11-25
  • 2021-11-13
相关资源
相似解决方案