当前位置:网站首页>Flutter Getting Started and Advanced Tour (2) Hello Flutter
Flutter Getting Started and Advanced Tour (2) Hello Flutter
2022-08-09 13:15:00 【Xie Dong_】
Open question
It seems that almost any programming language we learn or master starts with Hello word. This blog post is the first sharing of the advanced level of Flutter entry. We also start with the simplest Hello world. As for the Flutter development environmentThe configuration of , and the introduction to the Dart language are not the content of this column, so I will not introduce it in detail. Readers can find out about it on their own google or Baidu.
Preparation
Before I start, I would like to introduce to you two commonly used components in Flutter, MaterialApp and Scaffold. Readers do not need to fully grasp them here.There are special topics to explain the two. Here, let’s first briefly understand that MaterialApp is an entry Widget that is commonly used in our app development and conforms to the Material Design design concept.From the literal meaning, you can see that Scaffold is also a scaffolding and a skeleton, that is, it serves as the skeleton of our app, and quickly helps us create a template that can be customized for secondary construction. We can do a lot of personalized UI on it.custom made.For this chapter of Hello Flutter, we can simply understand so much first. Readers don’t have to rush to grasp all the contents of Flutter immediately. Today, I will simply say hello to Flutter. It is enough to have a simple understanding. We will learn together slowly in the future.Various Widgets in Flutter.
Code:
import 'package:flutter/material.dart';void main() {runApp(new MaterialApp(home: new HelloFlutter()));}class HelloFlutter extends StatelessWidget {@overrideWidget build(BuildContext context) {return new Scaffold(appBar: new AppBar(title: new Text("Hello Flutter"),),body: new Center(child: new Text("Hello Flutter")),);}}
Next: Flutter Getting Started and Advanced Tour (3) Text Widgets
边栏推荐
- 2022牛客多校(六)M. Z-Game on grid
- Common gadgets of Shell (sort, uniq, tr, cut)
- 两分钟录音就可秒变语言通!火山语音音色复刻技术如何修炼而成?
- 腾讯欲成育碧最大股东/ 米哈游招NLP内容生成研究员/ AI发现四千余物种濒临灭绝...今日更多新鲜事在此...
- 关于Retrofit网络请求URL中含有可变参数的处理
- The latest interview summary in 20022 brought by Ali senior engineer is too fragrant
- WeChat side: what is consistent hashing, usage scenarios, and what problems does it solve?
- 听声辨物,这是AI视觉该干的???|ECCV 2022
- 曼城推出可检测情绪的智能围巾,把球迷给整迷惑了
- Go-based web access parameters
猜你喜欢
Shell正则表达式,三剑客之grep命令
AQS同步组件-FutureTask解析和用例
数据挖掘-05
MySQL 原理与优化,Group By 优化 技巧
MongoDB-查询中$all的用法介绍
h264 protocol
Fragment中嵌套ViewPager数据空白页异常问题分析
Shell之常用小工具(sort、uniq、tr、cut)
Information system project managers must memorize the core test sites (63) The main process of project portfolio management & DIPP analysis
K个结点的组内逆序调整
随机推荐
ansible-cmdb友好展示ansible收集主机信息
数字化转型之支撑保障单元
Blocking, non-blocking, multiplexing, synchronous, asynchronous, BIO, NIO, AIO all in one pot
报告:想学AI的学生数量已涨200%,老师都不够用了
关于Retrofit网络请求URL中含有可变参数的处理
ABAP 面试题:如何使用 ABAP 编程语言的 System CALL 接口,直接执行 ABAP 服务器所在操作系统的 shell 命令?
WeChat side: what is consistent hashing, usage scenarios, and what problems does it solve?
Flutter入门进阶之旅(二)Hello Flutter
曲鸟全栈UI自动化教学(八):框架代码讲解和进一步优化
注释、关键字、标识符的区别你知道吗?
The core key points of microservice architecture
AQS同步组件-FutureTask解析和用例
在北极都可以穿短袖了,温度飙升至32.5℃
你没见过的《老友记》镜头,AI给补出来了|ECCV 2022
腾讯欲成育碧最大股东/ 米哈游招NLP内容生成研究员/ AI发现四千余物种濒临灭绝...今日更多新鲜事在此...
[Microservice ~ Remote Call] Integrate RestTemplate, WebClient, Feign
LeetCode #101. Symmetric Binary Tree
自定义VIEW实现应用内消息提醒上下轮播
又有大厂员工连续加班倒下/ 百度搜狗取消快照/ 马斯克生父不为他骄傲...今日更多新鲜事在此...
win10编译x264库(也有生成好的lib文件)