flutter测试页

import 'package:flutter/material.dart';

// 应用页面使用有状态Widget
class AppScene extends StatefulWidget {
  @override
  AppState createState() => AppState();
}
class AppState extends State<AppScene> {
  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return Scaffold(
      body: new Center(
        child: new Text(
          '主页面',
          textAlign: TextAlign.center,
          style: new TextStyle(
              color: Colors.red[500],
              fontSize: 24.0,
              fontWeight: FontWeight.bold
          ),
        ),
      ),
    );
  }
}
/// 测试页面

 

posted @ 2019-04-25 13:32  飞雪飘鸿  阅读(260)  评论(0编辑  收藏  举报
https://damo.alibaba.com/ https://tianchi.aliyun.com/course?spm=5176.21206777.J_3941670930.5.87dc17c9BZNvLL