当前位置:网站首页>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
边栏推荐
- Too much volume... Tencent was asked on the side that the memory was full, what would happen?
- 数据挖掘-06
- Scala 高阶(七):集合内容汇总(上篇)
- 合并两个有序列表
- 无需精子卵子子宫体外培育胚胎,Cell论文作者这番话让网友们炸了
- Experiment record: the process of building a network
- Resolved IndentationError: unindent does not match any oute r indentation Level
- Report: The number of students who want to learn AI has increased by 200%, and there are not enough teachers
- 字符串转换整数 (atoi)
- 基于STM32+铂电阻设计的测温仪
猜你喜欢

曲鸟全栈UI自动化教学(八):框架代码讲解和进一步优化

【无标题】

API调用,API传参,面向对接开发,你真的会写接口文档吗?

在北极都可以穿短袖了,温度飙升至32.5℃

听声辨物,这是AI视觉该干的???|ECCV 2022

Flutter入门进阶之旅(六)Layout Widget

Report: The number of students who want to learn AI has increased by 200%, and there are not enough teachers

合并两个有序列表

箭头函数和普通函数的常见区别

Programmer's Exclusive Romance - Use 3D Engine to Realize Fireworks in 5 Minutes
随机推荐
WeChat Mini Program Payment and Refund Overall Process
MySQL查询性能优化七种武器之索引潜水
系统提供的堆 VS 手动改写堆
报告:想学AI的学生数量已涨200%,老师都不够用了
Flutter入门进阶之旅(七)GestureDetector
1小时直播招募令:行业大咖干货分享,企业报名开启丨量子位·视点
Resolved IndentationError: unindent does not match any oute r indentation Level
数字化转型之支撑保障单元
Rust从入门到精通04-数据类型
Two minutes recording can pass by second language!The volcano how to practice and become voice tone reproduction technology?
Fragment中嵌套ViewPager数据空白页异常问题分析
箭头函数和普通函数的常见区别
使用RecyclerView实现三级折叠列表
ABAP 面试题:如何使用 ABAP 编程语言的 System CALL 接口,直接执行 ABAP 服务器所在操作系统的 shell 命令?
Adalvo收购其首个品牌产品Onsolis
1-hour live broadcast recruitment order: industry big names share dry goods, and enterprise registration opens丨qubit·viewpoint
h264 protocol
超越CLIP的多模态模型,只需不到1%的训练数据!南加大最新研究来了
WebView注入Js代码实现大图自适应屏幕点击图片预览详情
Simple understanding of ThreadLocal