Flutter控件

Dart 控件

https://api.flutter.dev/flutter/widgets/widgets-library.html

Accessibility

組件名稱名字 視頻URL 組件英文描述
ExcludeSemantics https://api.flutter.dev/flutter/widgets/ExcludeSemantics-class.html 刪除其子代的所有語義的小部件。這可以用來隱藏子窗口小部件巴席,否則會被報告赢赊,但這只會讓人困惑奔穿。例如挖炬,Material Components芯片小部件隱藏化身琢歇,因為它與芯片標(biāo)簽是冗余的育韩。
MergeSemantics https://api.flutter.dev/flutter/widgets/MergeSemantics-class.html 合并其子代語義的小部件擦酌。
Semantics https://api.flutter.dev/flutter/widgets/Semantics-class.html 一個小部件宵晚,用小部件含義的描述對小部件樹進行注釋垂攘。可訪問性工具淤刃、搜索引擎和其他語義分析軟件用于確定應(yīng)用程序的含義晒他。

Animation and Motion

組件名稱名字 視頻URL 組件英文描述
AnimatedAlign https://api.flutter.dev/flutter/widgets/AnimatedAlign-class.html Align的動畫版本,每當(dāng)給定對齊方式發(fā)生更改時逸贾,它會在給定的持續(xù)時間內(nèi)自動轉(zhuǎn)換子對象的位置陨仅。
AnimatedBuilder https://api.flutter.dev/flutter/widgets/AnimatedBuilder-class.html 用于構(gòu)建動畫的通用小部件津滞。對于希望將動畫作為更大構(gòu)建功能的一部分的更復(fù)雜的小部件,AnimatedBuilder非常有用灼伤。要使用AnimatedBuilder触徐,只需構(gòu)造小部件并向其傳遞一個builder函數(shù)。
AnimatedContainer https://api.flutter.dev/flutter/widgets/AnimatedContainer-class.html 在一段時間內(nèi)逐漸改變其值的容器饺蔑。
AnimatedCrossFade https://api.flutter.dev/flutter/widgets/AnimatedCrossFade-class.html 在兩個給定的子對象之間交叉淡入淡出并在其大小之間設(shè)置自身動畫的小部件锌介。
AnimatedDefaultTextStyle https://api.flutter.dev/flutter/widgets/AnimatedDefaultTextStyle-class.html DefaultTextStyle的動畫版本,在給定的持續(xù)時間內(nèi)猾警,只要給定的樣式發(fā)生更改孔祸,就會自動轉(zhuǎn)換默認(rèn)文本樣式(應(yīng)用于沒有顯式樣式的后代文本小部件的文本樣式)。
AnimatedListState https://api.flutter.dev/flutter/widgets/AnimatedListState-class.html 滾動容器的狀態(tài)发皿,用于在插入或刪除項目時設(shè)置項目動畫崔慧。
AnimatedModalBarrier https://api.flutter.dev/flutter/widgets/AnimatedModalBarrier-class.html 阻止用戶與自身后面的小部件交互的小部件。
AnimatedOpacity https://api.flutter.dev/flutter/widgets/AnimatedOpacity-class.html 不透明度的動畫版本穴墅,當(dāng)給定的不透明度更改時惶室,該版本會在給定的持續(xù)時間內(nèi)自動轉(zhuǎn)換子對象的不透明度。
AnimatedPhysicalModel https://api.flutter.dev/flutter/widgets/AnimatedPhysicalModel-class.html PhysicalModel的動畫版本玄货。
AnimatedPositioned https://api.flutter.dev/flutter/widgets/AnimatedPositioned-class.html Posited的動畫版本皇钞,在給定的持續(xù)時間內(nèi),只要給定的位置發(fā)生變化松捉,就會自動變換孩子的位置夹界。
AnimatedSize https://api.flutter.dev/flutter/widgets/AnimatedSize-class.html 動畫小部件,在給定的時間內(nèi)隘世,只要給定的孩子的大小發(fā)生變化可柿,它就會自動轉(zhuǎn)換其大小。
AnimatedWidget https://api.flutter.dev/flutter/widgets/AnimatedWidget-class.html 當(dāng)給定的Listenable值更改時重建的小部件丙者。
AnimatedWidgetBaseState https://api.flutter.dev/flutter/widgets/AnimatedWidgetBaseState-class.html 具有隱式動畫的小部件的基類复斥。
DecoratedBoxTransition https://api.flutter.dev/flutter/widgets/DecoratedBoxTransition-class.html 裝飾框的動畫版本,用于為其裝飾的不同屬性設(shè)置動畫械媒。
FadeTransition https://api.flutter.dev/flutter/widgets/FadeTransition-class.html 設(shè)置小部件不透明度的動畫目锭。
Hero https://api.flutter.dev/flutter/widgets/Hero-class.html 將其子對象標(biāo)記為英雄動畫候選對象的小部件。
PositionedTransition https://api.flutter.dev/flutter/widgets/PositionedTransition-class.html Posited的動畫版本滥沫,使用特定動畫在動畫的生命周期內(nèi)將子對象的位置從開始位置過渡到結(jié)束位置侣集。
RotationTransition https://api.flutter.dev/flutter/widgets/RotationTransition-class.html 設(shè)置小部件旋轉(zhuǎn)的動畫。
ScaleTransition https://api.flutter.dev/flutter/widgets/ScaleTransition-class.html 設(shè)置變換小部件的縮放動畫兰绣。
SizeTransition https://api.flutter.dev/flutter/widgets/SizeTransition-class.html 設(shè)置其自身大小和剪輯的動畫世分,并對齊子對象。
SlideTransition https://api.flutter.dev/flutter/widgets/SlideTransition-class.html 設(shè)置小部件相對于其正常位置的位置動畫缀辩。

Assets, Images, and Icons

組件名稱名字 視頻URL 組件英文描述
AssetBundle https://api.flutter.dev/flutter/services/AssetBundle-class.html 資產(chǎn)包包含應(yīng)用程序可以使用的資源臭埋,如圖像和字符串踪央。對這些資源的訪問是異步的,因此可以通過網(wǎng)絡(luò)(例如瓢阴,從NetworkAssetBundle)或本地文件系統(tǒng)透明地加載它們畅蹂,而不會阻塞應(yīng)用程序的用戶界面。
Icon https://api.flutter.dev/flutter/widgets/Icon-class.html 材質(zhì)設(shè)計圖標(biāo)荣恐。
Image https://api.flutter.dev/flutter/widgets/Image-class.html 顯示圖像的小部件喷好。
RawImage https://api.flutter.dev/flutter/widgets/RawImage-class.html 直接顯示dart:ui.Image的小部件居触。

Async

組件名稱名字 視頻URL 組件英文描述
FutureBuilder https://api.flutter.dev/flutter/widgets/FutureBuilder-class.html 基于與未來交互的最新快照構(gòu)建自身的小部件差凹。
StreamBuilder https://api.flutter.dev/flutter/widgets/StreamBuilder-class.html 基于與流交互的最新快照構(gòu)建自身的小部件尸疆。

Basics

組件名稱名字 視頻URL 組件英文描述
Appbar https://api.flutter.dev/flutter/material/AppBar-class.html 材質(zhì)設(shè)計應(yīng)用程序欄。應(yīng)用程序欄由工具欄和其他可能的小部件組成硼被,如選項卡欄和FlexibleSpaceBar示损。
Column https://api.flutter.dev/flutter/widgets/Column-class.html 在垂直方向上布局子窗口小部件的列表。
Container https://api.flutter.dev/flutter/widgets/Container-class.html 一個方便的小部件嚷硫,它結(jié)合了常見的繪制检访、定位和大小調(diào)整小部件。
ElevatedButton https://api.flutter.dev/flutter/material/ElevatedButton-class.html 一種材料設(shè)計的按鈕仔掸。一種填充按鈕脆贵,按下時其材料會升高。
FlutterLogo https://api.flutter.dev/flutter/material/FlutterLogo-class.html 小部件形式的顫振徽標(biāo)起暮。此小部件尊重IconTheme丹禀。
Icon https://api.flutter.dev/flutter/widgets/Icon-class.html 材質(zhì)設(shè)計圖標(biāo)。
Image https://api.flutter.dev/flutter/widgets/Image-class.html 顯示圖像的小部件鞋怀。
Placeholder https://api.flutter.dev/flutter/widgets/Placeholder-class.html 一個小部件,它繪制一個框持搜,表示有一天其他小部件將添加到何處密似。
Row https://api.flutter.dev/flutter/widgets/Row-class.html 在水平方向上布局子窗口小部件的列表。
Scaffold https://api.flutter.dev/flutter/material/Scaffold-class.html 實現(xiàn)了可視化的物料布局設(shè)計葫盼。此類提供了用于顯示抽屜残腌、快餐店和底頁的API。
Text https://api.flutter.dev/flutter/widgets/Text-class.html 具有單一樣式的一系列文本贫导。

Cupertino (iOS-style widgets)

組件名稱名字 視頻URL 組件英文描述
CupertinoActionSheet https://api.flutter.dev/flutter/cupertino/CupertinoActionSheet-class.html iOS風(fēng)格的模式底部操作表抛猫,用于在眾多選項中選擇一個選項。
CupertinoActivityIndicator https://api.flutter.dev/flutter/cupertino/CupertinoActivityIndicator-class.html iOS風(fēng)格的活動指示器孩灯。顯示圓形“微調(diào)器”闺金。
CupertinoAlertDialog https://api.flutter.dev/flutter/cupertino/CupertinoAlertDialog-class.html iOS樣式的警報對話框。
CupertinoButton https://api.flutter.dev/flutter/cupertino/CupertinoButton-class.html iOS風(fēng)格的按鈕峰档。
CupertinoContextMenu https://api.flutter.dev/flutter/cupertino/CupertinoContextMenu-class.html 長按孩子時打開的iOS風(fēng)格的全屏模式路由败匹。用于顯示內(nèi)容的相關(guān)操作寨昙。
CupertinoDatePicker https://api.flutter.dev/flutter/cupertino/CupertinoDatePicker-class.html iOS樣式的日期或日期和時間選擇器。
CupertinoDialog https://api.flutter.dev/flutter/cupertino/CupertinoDialog-class.html 一個iOS風(fēng)格的對話框掀亩。
CupertinoDialogAction https://api.flutter.dev/flutter/cupertino/CupertinoDialogAction-class.html 一種按鈕舔哪,通常用在CupertinoAlertDialog中。
CupertinoFullscreenDialogTransition https://api.flutter.dev/flutter/cupertino/CupertinoFullscreenDialogTransition-class.html 用于調(diào)用全屏對話框的iOS風(fēng)格轉(zhuǎn)換槽棍。
CupertinoNavigationBar https://api.flutter.dev/flutter/cupertino/CupertinoNavigationBar-class.html iOS風(fēng)格的頂部導(dǎo)航欄捉蚤。通常與CupertinoPageScaffold一起使用。
CupertinoPageScaffold https://api.flutter.dev/flutter/cupertino/CupertinoPageScaffold-class.html 基本的iOS風(fēng)格頁面布局結(jié)構(gòu)炼七。將導(dǎo)航欄和內(nèi)容放置在背景上缆巧。
CupertinoPageTransition https://api.flutter.dev/flutter/cupertino/CupertinoPageTransition-class.html 提供iOS樣式的頁面轉(zhuǎn)換動畫。
CupertinoPicker https://api.flutter.dev/flutter/cupertino/CupertinoPicker-class.html iOS風(fēng)格的選擇器控件特石。用于選擇短列表中的項目盅蝗。
CupertinoPopupSurface https://api.flutter.dev/flutter/cupertino/CupertinoPopupSurface-class.html 圓形矩形表面,看起來像iOS彈出式界面姆蘸,如警報對話框或操作表墩莫。
CupertinoScrollbar https://api.flutter.dev/flutter/cupertino/CupertinoScrollbar-class.html 一個iOS風(fēng)格的滾動條,指示當(dāng)前可見的可滾動小部件的哪個部分逞敷。
CupertinoSearchTextField https://api.flutter.dev/flutter/cupertino/CupertinoSearchTextField-class.html iOS風(fēng)格的搜索字段狂秦。
CupertinoSegmentedControl https://api.flutter.dev/flutter/cupertino/CupertinoSegmentedControl-class.html iOS風(fēng)格的分段控件。用于在水平列表中選擇相互排斥的選項推捐。
CupertinoSlider https://api.flutter.dev/flutter/cupertino/CupertinoSlider-class.html 用于從一系列值中進行選擇裂问。
CupertinoSlidingSegmentedControl https://api.flutter.dev/flutter/cupertino/CupertinoSlidingSegmentedControl-class.html iOS-13風(fēng)格的分段控件。用于在水平列表中選擇相互排斥的選項牛柒。
CupertinoSliverNavigationBar https://api.flutter.dev/flutter/cupertino/CupertinoSliverNavigationBar-class.html 一個iOS風(fēng)格的導(dǎo)航欄堪簿,帶有iOS-11風(fēng)格的大標(biāo)題,使用條子皮壁。
CupertinoSwitch https://api.flutter.dev/flutter/cupertino/CupertinoSwitch-class.html iOS風(fēng)格的開關(guān)椭更。用于切換單個設(shè)置的開/關(guān)狀態(tài)。
CupertinoTabBar https://api.flutter.dev/flutter/cupertino/CupertinoTabBar-class.html iOS樣式的底部選項卡欄蛾魄。通常與Cupertinobsaffold一起使用虑瀑。
CupertinoTabScaffold https://api.flutter.dev/flutter/cupertino/CupertinoTabScaffold-class.html 選項卡式iOS應(yīng)用程序結(jié)構(gòu)。將選項卡欄放置在內(nèi)容選項卡的頂部滴须。
CupertinoTabView https://api.flutter.dev/flutter/cupertino/CupertinoTabView-class.html 支持選項卡間并行導(dǎo)航的選項卡的根內(nèi)容舌狗。通常與Cupertinobsaffold一起使用。
CupertinoTextField https://api.flutter.dev/flutter/cupertino/CupertinoTextField-class.html iOS樣式的文本字段扔水。
CupertinoTimerPicker https://api.flutter.dev/flutter/cupertino/CupertinoTimerPicker-class.html iOS風(fēng)格的倒計時計時器選擇器痛侍。

Input

組件名稱名字 視頻URL 組件英文描述
Autocomplete https://api.flutter.dev/flutter/material/Autocomplete-class.html 通過輸入一些文本并從選項列表中進行選擇,幫助用戶進行選擇的小部件魔市。
Form https://api.flutter.dev/flutter/widgets/Form-class.html 用于將多個表單字段小部件(例如TextField小部件)組合在一起的可選容器恋日。
FormField https://api.flutter.dev/flutter/widgets/FormField-class.html 單個表單字段膀篮。此小部件維護表單字段的當(dāng)前狀態(tài),以便在UI中直觀地反映更新和驗證錯誤岂膳。
RawKeyboardListener https://api.flutter.dev/flutter/widgets/RawKeyboardListener-class.html 每當(dāng)用戶按下或釋放鍵盤上的鍵時調(diào)用回調(diào)的小部件誓竿。

Interaction Models

組件名稱名字 視頻URL 組件英文描述

Touch interactions

組件名稱名字 視頻URL 組件英文描述
AbsorbPointer https://api.flutter.dev/flutter/widgets/AbsorbPointer-class.html 在命中測試期間吸收指針的小部件。如果為true谈截,此小部件通過終止自身的命中測試來防止其子樹接收指針事件筷屡。在布局過程中,它仍然會消耗空間簸喂,并像往常一樣繪制其子對象毙死。它只是防止其子級成為定位事件的目標(biāo),因為它從RenderBox.hitTest返回true喻鳄。
Dismissible https://api.flutter.dev/flutter/widgets/Dismissible-class.html 一種小部件扼倘,可通過沿指示方向拖動來解除。將此小部件向相反方向拖動或投擲會導(dǎo)致子部件滑出視圖除呵。在幻燈片動畫之后再菊,如果resizeDuration為非null,則Dismissible小部件會在resizeDuration期間將其高度(或?qū)挾妊赵耘cDismissive方向垂直的為準(zhǔn))動畫設(shè)置為零纠拔。
DragTarget https://api.flutter.dev/flutter/widgets/DragTarget-class.html 當(dāng)可拖動小部件被丟棄時接收數(shù)據(jù)的小部件。當(dāng)在拖動目標(biāo)上拖動拖動表時泛豪,將詢問拖動目標(biāo)是否接受拖動表所承載的數(shù)據(jù)稠诲。如果用戶確實將可拖動對象放置在拖動目標(biāo)的頂部(并且拖動目標(biāo)已指示它將接受可拖動對象的數(shù)據(jù)),則會要求拖動目標(biāo)接受可拖動對象的數(shù)據(jù)诡曙。
Draggable https://api.flutter.dev/flutter/widgets/Draggable-class.html 可以從拖動到拖動目標(biāo)的小部件臀叙。當(dāng)可拖動小部件識別拖動手勢的開始時,它會顯示一個反饋小部件价卤,在屏幕上跟蹤用戶的手指匹耕。如果用戶在DragTarget上抬起手指,則該目標(biāo)將有機會接受DragTable攜帶的數(shù)據(jù)荠雕。
DraggableScrollableSheet https://api.flutter.dev/flutter/widgets/DraggableScrollableSheet-class.html 一種可滾動文件的容器,通過調(diào)整可滾動文件的大小直到達到限制驶赏,然后滾動來響應(yīng)拖動手勢炸卑。
GestureDetector https://api.flutter.dev/flutter/widgets/GestureDetector-class.html 檢測手勢的小部件。嘗試識別與其非空回調(diào)相對應(yīng)的手勢煤傍。如果這個小部件有一個子部件盖文,它將根據(jù)該子部件的大小調(diào)整行為。如果它沒有子對象蚯姆,則會成長為適合父對象五续。
IgnorePointer https://api.flutter.dev/flutter/widgets/IgnorePointer-class.html 在命中測試期間不可見的小部件洒敏。如果忽略為true,則此小部件(及其子樹)對命中測試不可見疙驾。在布局過程中凶伙,它仍然會消耗空間,并像往常一樣繪制其子對象它碎。它不能成為定位事件的目標(biāo)函荣,因為它從RenderBox.hitTest返回false。
InteractiveViewer https://api.flutter.dev/flutter/widgets/InteractiveViewer-class.html 一個小部件扳肛,可與子部件進行平移和縮放交互傻挂。
LongPressDraggable https://api.flutter.dev/flutter/widgets/LongPressDraggable-class.html 從長按開始,使其子項可拖動挖息。
Scrollable https://api.flutter.dev/flutter/widgets/Scrollable-class.html Scrollable實現(xiàn)了可滾動小部件的交互模型金拒,包括手勢識別,但對實際顯示子對象的視口的構(gòu)造方式?jīng)]有意見套腹。

Routing

組件名稱名字 視頻URL 組件英文描述
Hero https://api.flutter.dev/flutter/widgets/Hero-class.html 將其子對象標(biāo)記為英雄動畫候選對象的小部件绪抛。
Navigator https://api.flutter.dev/flutter/widgets/Navigator-class.html 使用堆棧規(guī)程管理一組子小部件的小部件。許多應(yīng)用程序在其小部件層次結(jié)構(gòu)的頂部附近有一個導(dǎo)航器沉迹,可以使用覆蓋顯示其邏輯歷史睦疫,最近訪問的頁面可視地顯示在舊頁面的頂部。使用此模式鞭呕,導(dǎo)航器可以通過在覆蓋中移動窗口小部件蛤育,直觀地從一個頁面過渡到另一個頁面。類似地葫松,導(dǎo)航器可以通過將對話框小部件定位在當(dāng)前頁面上方來顯示對話框瓦糕。

Layout

組件名稱名字 視頻URL 組件英文描述

Single-child layout widgets

組件名稱名字 視頻URL 組件英文描述
Align https://api.flutter.dev/flutter/widgets/Align-class.html 一個小部件,它將其子部件與自身對齊腋么,并根據(jù)子部件的大小選擇調(diào)整自身大小咕娄。
AspectRatio https://api.flutter.dev/flutter/widgets/AspectRatio-class.html 一種小部件,嘗試將子對象的大小調(diào)整為特定的縱橫比珊擂。
Baseline https://api.flutter.dev/flutter/widgets/Baseline-class.html 根據(jù)子對象的基線定位其子對象的小部件圣勒。
Center https://api.flutter.dev/flutter/widgets/Center-class.html 一個小部件,它將其子部件集中在自己內(nèi)部摧扇。
ConstrainedBox https://api.flutter.dev/flutter/widgets/ConstrainedBox-class.html 對其子項施加附加約束的小部件圣贸。
Container https://api.flutter.dev/flutter/widgets/Container-class.html 一個方便的小部件,它結(jié)合了常見的繪制扛稽、定位和大小調(diào)整小部件吁峻。
CustomSingleChildLayout https://api.flutter.dev/flutter/widgets/CustomSingleChildLayout-class.html 將其單個子級的布局推遲到委托的小部件。
Expanded https://api.flutter.dev/flutter/widgets/Expanded-class.html 展開行、列或Flex的子項的小部件用含。
FittedBox https://api.flutter.dev/flutter/widgets/FittedBox-class.html 根據(jù)適合度在其子對象內(nèi)部縮放和定位矮慕。
FractionallySizedBox https://api.flutter.dev/flutter/widgets/FractionallySizedBox-class.html 一種小部件,其子部件的大小為總可用空間的一小部分啄骇。有關(guān)RenderFlowBox算法的詳細(xì)信息痴鳄,請參見RenderFlowBox。
IntrinsicHeight https://api.flutter.dev/flutter/widgets/IntrinsicHeight-class.html 一種小部件肠缔,可根據(jù)子部件的固有高度調(diào)整其子部件的大小夏跷。
IntrinsicWidth https://api.flutter.dev/flutter/widgets/IntrinsicWidth-class.html 一個小部件规伐,它將其子對象的大小調(diào)整為子對象的固有寬度烘浦。
LimitedBox https://api.flutter.dev/flutter/widgets/LimitedBox-class.html 只有在不受約束的情況下才限制其大小的長方體。
Offstage https://api.flutter.dev/flutter/widgets/Offstage-class.html 一個小部件杭攻,它可以像在樹上一樣布置子對象趟妥,但不繪制任何內(nèi)容猫态,不使子對象可用于命中測試,也不占用父對象中的任何空間披摄。
OverflowBox https://api.flutter.dev/flutter/widgets/OverflowBox-class.html 一個小部件亲雪,它對其子部件施加的約束與其從父部件獲得的約束不同,可能允許子部件溢出父部件疚膊。
Padding https://api.flutter.dev/flutter/widgets/Padding-class.html 通過給定的填充插入其子項的小部件义辕。
SizedBox https://api.flutter.dev/flutter/widgets/SizedBox-class.html 具有指定大小的盒子。如果給定一個子部件寓盗,該小部件將強制其子部件具有特定的寬度和/或高度(假設(shè)該小部件的父部件允許該值)灌砖。如果寬度或高度為空,此小部件將調(diào)整自身大小以匹配該維度中的子對象大小傀蚌。
SizedOverflowBox https://api.flutter.dev/flutter/widgets/SizedOverflowBox-class.html 具有特定大小的小部件基显,但將其原始約束傳遞給其子部件,這可能會溢出善炫。
Transform https://api.flutter.dev/flutter/widgets/Transform-class.html 在繪制其子對象之前應(yīng)用轉(zhuǎn)換的小部件撩幽。

Multi-child layout widgets

組件名稱名字 視頻URL 組件英文描述
Column https://api.flutter.dev/flutter/widgets/Column-class.html 在垂直方向上布局子窗口小部件的列表。
CustomMultiChildLayout https://api.flutter.dev/flutter/widgets/CustomMultiChildLayout-class.html 一種小部件箩艺,使用委托來調(diào)整和定位多個子項窜醉。
Flow https://api.flutter.dev/flutter/widgets/Flow-class.html 實現(xiàn)流布局算法的小部件。
GridView https://api.flutter.dev/flutter/widgets/GridView-class.html 網(wǎng)格列表由以垂直和水平布局排列的單元格的重復(fù)模式組成艺谆。GridView小部件實現(xiàn)了這個組件榨惰。
IndexedStack https://api.flutter.dev/flutter/widgets/IndexedStack-class.html 顯示子項列表中單個子項的堆棧。
LayoutBuilder https://api.flutter.dev/flutter/widgets/LayoutBuilder-class.html 根據(jù)父窗口小部件的大小構(gòu)建窗口小部件樹擂涛。
ListBody https://api.flutter.dev/flutter/widgets/ListBody-class.html 一種小部件,它沿給定的軸順序排列其子部件,迫使它們位于另一個軸上父部件的尺寸撒妈。
ListView https://api.flutter.dev/flutter/widgets/ListView-class.html 可滾動的線性小部件列表恢暖。ListView是最常用的滾動小部件。它在滾動方向上一個接一個地顯示其子對象狰右。在橫軸中杰捂,子對象需要填充ListView。
Row https://api.flutter.dev/flutter/widgets/Row-class.html 在水平方向上布局子窗口小部件的列表棋蚌。
Stack https://api.flutter.dev/flutter/widgets/Stack-class.html 如果您希望以簡單的方式重疊多個子對象嫁佳,例如使用漸變和底部附加的按鈕覆蓋一些文本和圖像,則此類非常有用谷暮。
Table https://api.flutter.dev/flutter/widgets/Table-class.html 為其子級使用表布局算法的小部件蒿往。
Wrap https://api.flutter.dev/flutter/widgets/Wrap-class.html 在多個水平或垂直運行中顯示其子項的小部件。

Sliver widgets

組件名稱名字 視頻URL 組件英文描述
CupertinoSliverNavigationBar https://api.flutter.dev/flutter/cupertino/CupertinoSliverNavigationBar-class.html 一個iOS風(fēng)格的導(dǎo)航欄湿弦,帶有iOS-11風(fēng)格的大標(biāo)題瓤漏,使用條子。
CustomScrollView https://api.flutter.dev/flutter/widgets/CustomScrollView-class.html 使用狹縫創(chuàng)建自定義滾動效果的滾動視圖颊埃。
SliverAppBar https://api.flutter.dev/flutter/material/SliverAppBar-class.html 與CustomScrollView集成的材質(zhì)設(shè)計應(yīng)用程序欄蔬充。
SliverChildBuilderDelegate https://api.flutter.dev/flutter/widgets/SliverChildBuilderDelegate-class.html 使用生成器回調(diào)為片段提供子對象的委托。
SliverChildListDelegate https://api.flutter.dev/flutter/widgets/SliverChildListDelegate-class.html 使用顯式列表為碎片提供子對象的委托班利。
SliverFixedExtentList https://api.flutter.dev/flutter/widgets/SliverFixedExtentList-class.html 在線性陣列中放置具有相同主軸范圍的多個長方體子對象的小條饥漫。
SliverGrid https://api.flutter.dev/flutter/widgets/SliverGrid-class.html 在二維排列中放置多個盒子子對象的條子。
SliverList https://api.flutter.dev/flutter/widgets/SliverList-class.html 沿主軸將多個長方體子對象放置在線性陣列中的小條罗标。
SliverPadding https://api.flutter.dev/flutter/widgets/SliverPadding-class.html 在另一條棉條的每一面上加襯墊的棉條庸队。
SliverPersistentHeader https://api.flutter.dev/flutter/widgets/SliverPersistentHeader-class.html 當(dāng)條子滾動到與條子生長方向相反的視口邊緣時,其大小會發(fā)生變化的條子馒稍。
SliverToBoxAdapter https://api.flutter.dev/flutter/widgets/SliverToBoxAdapter-class.html 包含單個框小部件的小部件皿哨。

Material Components

組件名稱名字 視頻URL 組件英文描述

App structure and navigation

組件名稱名字 視頻URL 組件英文描述
Appbar https://api.flutter.dev/flutter/material/AppBar-class.html 材質(zhì)設(shè)計應(yīng)用程序欄。應(yīng)用程序欄由工具欄和其他可能的小部件組成纽谒,如選項卡欄和FlexibleSpaceBar证膨。
BottomNavigationBar https://api.flutter.dev/flutter/material/BottomNavigationBar-class.html 底部導(dǎo)航欄可以輕松地在一次點擊中瀏覽和切換頂級視圖。BottomNavigationBar小部件實現(xiàn)此組件鼓黔。
Drawer https://api.flutter.dev/flutter/material/Drawer-class.html 從腳手架邊緣水平滑入的材質(zhì)設(shè)計面板央勒,用于顯示應(yīng)用程序中的導(dǎo)航鏈接。
MaterialApp https://api.flutter.dev/flutter/material/MaterialApp-class.html 一個方便的小部件澳化,它封裝了實現(xiàn)材質(zhì)設(shè)計的應(yīng)用程序通常需要的許多小部件崔步。
Scaffold https://api.flutter.dev/flutter/material/Scaffold-class.html 實現(xiàn)了可視化的物料布局設(shè)計。此類提供了用于顯示抽屜缎谷、快餐店和底頁的API井濒。
SliverAppBar https://api.flutter.dev/flutter/material/SliverAppBar-class.html 與CustomScrollView集成的材質(zhì)設(shè)計應(yīng)用程序欄。
TabBar https://api.flutter.dev/flutter/material/TabBar-class.html 顯示水平行選項卡的材質(zhì)設(shè)計小部件。
TabBarView https://api.flutter.dev/flutter/material/TabBarView-class.html 顯示與當(dāng)前所選選項卡相對應(yīng)的小部件的頁面視圖瑞你。通常與選項卡欄結(jié)合使用酪惭。
TabController https://api.flutter.dev/flutter/material/TabController-class.html 在選項卡欄和選項卡欄視圖之間協(xié)調(diào)選項卡選擇。
TabPageSelector https://api.flutter.dev/flutter/material/TabPageSelector-class.html 顯示一行小圓形指示器者甲,每個選項卡一個春感。所選選項卡的指示器將高亮顯示。通常與TabBarView結(jié)合使用虏缸。
WidgetsApp https://api.flutter.dev/flutter/widgets/WidgetsApp-class.html 一個方便類鲫懒,它封裝了應(yīng)用程序通常需要的許多小部件。

Buttons

組件名稱名字 視頻URL 組件英文描述
DropdownButton https://api.flutter.dev/flutter/material/DropdownButton-class.html 顯示當(dāng)前選定的項目和箭頭刽辙,箭頭打開用于選擇其他項目的菜單窥岩。
ElevatedButton https://api.flutter.dev/flutter/material/ElevatedButton-class.html 一種材料設(shè)計的按鈕。一種填充按鈕扫倡,按下時其材料會升高谦秧。
FloatingActionButton https://api.flutter.dev/flutter/material/FloatingActionButton-class.html 浮動操作按鈕是一個圓形圖標(biāo)按鈕,它懸停在內(nèi)容上撵溃,以提升應(yīng)用程序中的主要操作疚鲤。浮動操作按鈕最常用于Scaffold.floatingActionButton字段。
IconButton https://api.flutter.dev/flutter/material/IconButton-class.html 圖標(biāo)按鈕是打印在材質(zhì)小部件上的圖片缘挑,通過填充顏色(墨水)對觸摸作出反應(yīng)集歇。
OutlinedButton https://api.flutter.dev/flutter/material/OutlinedButton-class.html 一種材料設(shè)計的輪廓按鈕,本質(zhì)上是一個帶有輪廓邊框的文本按鈕语淘。
PopupMenuButton https://api.flutter.dev/flutter/material/PopupMenuButton-class.html 按下時顯示菜單诲宇,由于選擇了某個項目而取消菜單時調(diào)用onSelected。
TextButton https://api.flutter.dev/flutter/material/TextButton-class.html 材質(zhì)設(shè)計文本按鈕惶翻。沒有邊框輪廓的簡單平面按鈕姑蓝。

Input and selections

組件名稱名字 視頻URL 組件英文描述
Checkbox https://api.flutter.dev/flutter/material/Checkbox-class.html 復(fù)選框允許用戶從集合中選擇多個選項。復(fù)選框小部件實現(xiàn)了這個組件吕粗。
Date & Time Pickers https://api.flutter.dev/flutter/material/showDatePicker.html 日期選擇器使用對話框窗口在手機上選擇單個日期纺荧。時間選擇器使用對話框在手機上選擇單個時間(小時:分鐘格式)。
Radio https://api.flutter.dev/flutter/material/Radio-class.html 單選按鈕允許用戶從集合中選擇一個選項颅筋。如果您認(rèn)為用戶需要并排查看所有可用選項宙暇,請使用單選按鈕進行獨占選擇。
Slider https://api.flutter.dev/flutter/material/Slider-class.html 滑塊允許用戶通過移動滑塊拇指從一系列值中進行選擇议泵。
Switch https://api.flutter.dev/flutter/material/Switch-class.html 打開/關(guān)閉開關(guān)切換單個設(shè)置選項的狀態(tài)占贫。Switch小部件實現(xiàn)了這個組件。
TextField https://api.flutter.dev/flutter/material/TextField-class.html 觸摸文本字段將放置光標(biāo)并顯示鍵盤先口。TextField小部件實現(xiàn)了這個組件型奥。

Dialogs, alerts, and panels

組件名稱名字 視頻URL 組件英文描述
AlertDialog https://api.flutter.dev/flutter/material/AlertDialog-class.html 警報是需要確認(rèn)的緊急中斷瞳收,用于通知用戶有關(guān)情況。AlertDialog小部件實現(xiàn)此組件厢汹。
BottomSheet https://api.flutter.dev/flutter/material/BottomSheet-class.html 底部紙張從屏幕底部向上滑動缎讼,以顯示更多內(nèi)容】咏常可以調(diào)用showBottomSheet()來實現(xiàn)持久的底部工作表,也可以調(diào)用showModalBottomSheet()來實現(xiàn)模式的底部工作表卧惜。
ExpansionPanel https://api.flutter.dev/flutter/material/ExpansionPanel-class.html 擴展面板包含創(chuàng)建流厘灼,并允許對元素進行輕量級編輯。ExpansionPanel小部件實現(xiàn)此組件咽瓷。
SimpleDialog https://api.flutter.dev/flutter/material/SimpleDialog-class.html 簡單對話框可以提供有關(guān)列表項的其他詳細(xì)信息或操作设凹。例如,它們可以顯示頭像圖標(biāo)茅姜,以澄清潛臺詞或正交動作(例如添加帳戶)闪朱。
SnackBar https://api.flutter.dev/flutter/material/SnackBar-class.html 帶有可選操作的輕量級消息,簡要顯示在屏幕底部钻洒。

Information displays

組件名稱名字 視頻URL 組件英文描述
Card https://api.flutter.dev/flutter/material/Card-class.html 材料設(shè)計卡奋姿。卡片有略微圓角和陰影素标。
Chip https://api.flutter.dev/flutter/material/Chip-class.html 一種材料設(shè)計芯片称诗。芯片在小塊中表示復(fù)雜的實體,例如觸點头遭。
CircularProgressIndicator https://api.flutter.dev/flutter/material/CircularProgressIndicator-class.html 物料設(shè)計循環(huán)進度指示器寓免,旋轉(zhuǎn)以指示應(yīng)用程序正忙。
DataTable https://api.flutter.dev/flutter/material/DataTable-class.html 數(shù)據(jù)表顯示原始數(shù)據(jù)集计维。它們通常出現(xiàn)在桌面企業(yè)產(chǎn)品中袜香。DataTable小部件實現(xiàn)了這個組件。
GridView https://api.flutter.dev/flutter/widgets/GridView-class.html 網(wǎng)格列表由以垂直和水平布局排列的單元格的重復(fù)模式組成鲫惶。GridView小部件實現(xiàn)了這個組件蜈首。
Icon https://api.flutter.dev/flutter/widgets/Icon-class.html 材質(zhì)設(shè)計圖標(biāo)。
Image https://api.flutter.dev/flutter/widgets/Image-class.html 顯示圖像的小部件剑按。
LinearProgressIndicator https://api.flutter.dev/flutter/material/LinearProgressIndicator-class.html 材質(zhì)設(shè)計線性進度指示器疾就,也稱為進度條。
Tooltip https://api.flutter.dev/flutter/material/Tooltip-class.html 工具提示提供有助于解釋按鈕功能或其他用戶界面操作的文本標(biāo)簽艺蝴。將按鈕包裝在工具提示小部件中猬腰,以在小部件長按(或用戶采取其他適當(dāng)操作)時顯示標(biāo)簽。

Layout

組件名稱名字 視頻URL 組件英文描述
Divider https://api.flutter.dev/flutter/material/Divider-class.html 一條一個邏輯像素厚的水平線猜敢,兩邊都有填充姑荷。
ListTile https://api.flutter.dev/flutter/material/ListTile-class.html 一個固定高度的行盒延,通常包含一些文本以及前導(dǎo)或尾隨圖標(biāo)。
Stepper https://api.flutter.dev/flutter/material/Stepper-class.html 材料設(shè)計步進程序小部件鼠冕,顯示一系列步驟的進度添寺。

Painting and effects

組件名稱名字 視頻URL 組件英文描述
BackdropFilter https://api.flutter.dev/flutter/widgets/BackdropFilter-class.html 將過濾器應(yīng)用于現(xiàn)有繪制內(nèi)容,然后繪制子對象的小部件懈费。這種效果相對昂貴计露,尤其是如果過濾器是非局部的,例如模糊憎乙。
ClipOval https://api.flutter.dev/flutter/widgets/ClipOval-class.html 一個小部件票罐,它使用橢圓形剪輯其子對象。
ClipPath https://api.flutter.dev/flutter/widgets/ClipPath-class.html 使用路徑剪輯其子對象的小部件泞边。
ClipRect https://api.flutter.dev/flutter/widgets/ClipRect-class.html 使用矩形剪輯其子對象的小部件该押。
CustomPaint https://api.flutter.dev/flutter/widgets/CustomPaint-class.html 一個小部件,提供在繪制階段繪制的畫布阵谚。
DecoratedBox https://api.flutter.dev/flutter/widgets/DecoratedBox-class.html 在其子對象繪制之前或之后繪制裝飾的小部件蚕礼。
FractionalTranslation https://api.flutter.dev/flutter/widgets/FractionalTranslation-class.html 一種小部件,在繪制其子對象之前梢什,應(yīng)用以框大小的一小部分表示的轉(zhuǎn)換奠蹬。
Opacity https://api.flutter.dev/flutter/widgets/Opacity-class.html 使其子部件部分透明的小部件。
RotatedBox https://api.flutter.dev/flutter/widgets/RotatedBox-class.html 將其子部件旋轉(zhuǎn)整數(shù)個四分之一圈的小部件嗡午。
Transform https://api.flutter.dev/flutter/widgets/Transform-class.html 在繪制其子對象之前應(yīng)用轉(zhuǎn)換的小部件罩润。

Scrolling

組件名稱名字 視頻URL 組件英文描述
CustomScrollView https://api.flutter.dev/flutter/widgets/CustomScrollView-class.html 使用狹縫創(chuàng)建自定義滾動效果的滾動視圖殖卑。
DraggableScrollableSheet https://api.flutter.dev/flutter/widgets/DraggableScrollableSheet-class.html 一種可滾動文件的容器赡模,通過調(diào)整可滾動文件的大小直到達到限制乘瓤,然后滾動來響應(yīng)拖動手勢捻悯。
GridView https://api.flutter.dev/flutter/widgets/GridView-class.html 網(wǎng)格列表由以垂直和水平布局排列的單元格的重復(fù)模式組成逾柿。GridView小部件實現(xiàn)了這個組件馋吗。
ListView https://api.flutter.dev/flutter/widgets/ListView-class.html 可滾動的線性小部件列表缺猛。ListView是最常用的滾動小部件拷沸。它在滾動方向上一個接一個地顯示其子對象中姜。在橫軸中消玄,子對象需要填充ListView。
NestedScrollView https://api.flutter.dev/flutter/widgets/NestedScrollView-class.html 一種滾動視圖丢胚,其中可以嵌套其他滾動視圖翩瓜,它們的滾動位置本質(zhì)上是鏈接的。
NotificationListener https://api.flutter.dev/flutter/widgets/NotificationListener-class.html 偵聽樹上冒泡的通知的小部件携龟。
PageView https://api.flutter.dev/flutter/widgets/PageView-class.html 一個可滾動的列表兔跌,可以一頁一頁地工作。
RefreshIndicator https://api.flutter.dev/flutter/material/RefreshIndicator-class.html 一種材質(zhì)設(shè)計峡蟋,用于刷新滾動條的包裝坟桅。
ReorderableListView https://api.flutter.dev/flutter/material/ReorderableListView-class.html 用戶可以通過拖動以交互方式重新排序其項的列表华望。
ScrollConfiguration https://api.flutter.dev/flutter/widgets/ScrollConfiguration-class.html 控制可滾動小部件在子樹中的行為。
Scrollable https://api.flutter.dev/flutter/widgets/Scrollable-class.html Scrollable實現(xiàn)了可滾動小部件的交互模型仅乓,包括手勢識別赖舟,但對實際顯示子對象的視口的構(gòu)造方式?jīng)]有意見。
Scrollbar https://api.flutter.dev/flutter/material/Scrollbar-class.html 材質(zhì)設(shè)計滾動條夸楣。滾動條指示可滾動小部件的哪個部分實際可見宾抓。
SingleChildScrollView https://api.flutter.dev/flutter/widgets/SingleChildScrollView-class.html 可以滾動單個小部件的框。當(dāng)您有一個通常完全可見的框(例如時間選擇器中的時鐘面)時豫喧,此小部件非常有用洞慎,但如果容器在一個軸(滾動方向)上變得太小,則需要確保它可以滾動嘿棘。

Styling

組件名稱名字 視頻URL 組件英文描述
MediaQuery https://api.flutter.dev/flutter/widgets/MediaQuery-class.html 建立子樹,媒體查詢在其中解析為給定數(shù)據(jù)旭绒。
Padding https://api.flutter.dev/flutter/widgets/Padding-class.html 通過給定的填充插入其子項的小部件鸟妙。
Theme https://api.flutter.dev/flutter/material/Theme-class.html 將主題應(yīng)用于子代小部件。主題描述應(yīng)用程序的顏色和排版選擇挥吵。

Text

組件名稱名字 視頻URL 組件英文描述
DefaultTextStyle https://api.flutter.dev/flutter/widgets/DefaultTextStyle-class.html 要應(yīng)用于沒有顯式樣式的子體文本小部件的文本樣式重父。
RichText https://api.flutter.dev/flutter/widgets/RichText-class.html RichText小部件顯示使用多種不同樣式的文本。要顯示的文本使用TextSpan對象樹進行描述忽匈,每個對象都具有用于該子樹的關(guān)聯(lián)樣式房午。根據(jù)布局約束的不同,文本可能會跨多行中斷丹允,也可能全部顯示在同一行上郭厌。
Text https://api.flutter.dev/flutter/widgets/Text-class.html 具有單一樣式的一系列文本。

Accessibility

組件名稱名字 視頻URL 組件英文描述
ExcludeSemantics https://api.flutter.dev/flutter/widgets/ExcludeSemantics-class.html A widget that drops all the semantics of its descendants. This can be used to hide subwidgets that would otherwise be reported but that would only be confusing. For example, the Material Components Chip widget hides the avatar since it is redundant with the chip label.
MergeSemantics https://api.flutter.dev/flutter/widgets/MergeSemantics-class.html A widget that merges the semantics of its descendants.
Semantics https://api.flutter.dev/flutter/widgets/Semantics-class.html A widget that annotates the widget tree with a description of the meaning of the widgets. Used by accessibility tools, search engines, and other semantic analysis software to determine the meaning of the application.

Animation and Motion

組件名稱名字 視頻URL 組件英文描述
AnimatedAlign https://api.flutter.dev/flutter/widgets/AnimatedAlign-class.html Animated version of Align which automatically transitions the child's position over a given duration whenever the given alignment changes.
AnimatedBuilder https://api.flutter.dev/flutter/widgets/AnimatedBuilder-class.html A general-purpose widget for building animations. AnimatedBuilder is useful for more complex widgets that wish to include animation as part of a larger build function. To use AnimatedBuilder, simply construct the widget and pass it a builder function.
AnimatedContainer https://api.flutter.dev/flutter/widgets/AnimatedContainer-class.html A container that gradually changes its values over a period of time.
AnimatedCrossFade https://api.flutter.dev/flutter/widgets/AnimatedCrossFade-class.html A widget that cross-fades between two given children and animates itself between their sizes.
AnimatedDefaultTextStyle https://api.flutter.dev/flutter/widgets/AnimatedDefaultTextStyle-class.html Animated version of DefaultTextStyle which automatically transitions the default text style (the text style to apply to descendant Text widgets without explicit style) over a given duration whenever the given style changes.
AnimatedListState https://api.flutter.dev/flutter/widgets/AnimatedListState-class.html The state for a scrolling container that animates items when they are inserted or removed.
AnimatedModalBarrier https://api.flutter.dev/flutter/widgets/AnimatedModalBarrier-class.html A widget that prevents the user from interacting with widgets behind itself.
AnimatedOpacity https://api.flutter.dev/flutter/widgets/AnimatedOpacity-class.html Animated version of Opacity which automatically transitions the child's opacity over a given duration whenever the given opacity changes.
AnimatedPhysicalModel https://api.flutter.dev/flutter/widgets/AnimatedPhysicalModel-class.html Animated version of PhysicalModel.
AnimatedPositioned https://api.flutter.dev/flutter/widgets/AnimatedPositioned-class.html Animated version of Positioned which automatically transitions the child's position over a given duration whenever the given position changes.
AnimatedSize https://api.flutter.dev/flutter/widgets/AnimatedSize-class.html Animated widget that automatically transitions its size over a given duration whenever the given child's size changes.
AnimatedWidget https://api.flutter.dev/flutter/widgets/AnimatedWidget-class.html A widget that rebuilds when the given Listenable changes value.
AnimatedWidgetBaseState https://api.flutter.dev/flutter/widgets/AnimatedWidgetBaseState-class.html A base class for widgets with implicit animations.
DecoratedBoxTransition https://api.flutter.dev/flutter/widgets/DecoratedBoxTransition-class.html Animated version of a DecoratedBox that animates the different properties of its Decoration.
FadeTransition https://api.flutter.dev/flutter/widgets/FadeTransition-class.html Animates the opacity of a widget.
Hero https://api.flutter.dev/flutter/widgets/Hero-class.html A widget that marks its child as being a candidate for hero animations.
PositionedTransition https://api.flutter.dev/flutter/widgets/PositionedTransition-class.html Animated version of Positioned which takes a specific Animation to transition the child's position from a start position to and end position over the lifetime of the animation.
RotationTransition https://api.flutter.dev/flutter/widgets/RotationTransition-class.html Animates the rotation of a widget.
ScaleTransition https://api.flutter.dev/flutter/widgets/ScaleTransition-class.html Animates the scale of transformed widget.
SizeTransition https://api.flutter.dev/flutter/widgets/SizeTransition-class.html Animates its own size and clips and aligns the child.
SlideTransition https://api.flutter.dev/flutter/widgets/SlideTransition-class.html Animates the position of a widget relative to its normal position.

Assets, Images, and Icons

組件名稱名字 視頻URL 組件英文描述
AssetBundle https://api.flutter.dev/flutter/services/AssetBundle-class.html Asset bundles contain resources, such as images and strings, that can be used by an application. Access to these resources is asynchronous so that they can be transparently loaded over a network (e.g., from a NetworkAssetBundle) or from the local file system without blocking the application's user interface.
Icon https://api.flutter.dev/flutter/widgets/Icon-class.html A Material Design icon.
Image https://api.flutter.dev/flutter/widgets/Image-class.html A widget that displays an image.
RawImage https://api.flutter.dev/flutter/widgets/RawImage-class.html A widget that displays a dart:ui.Image directly.

Async

組件名稱名字 視頻URL 組件英文描述
FutureBuilder https://api.flutter.dev/flutter/widgets/FutureBuilder-class.html Widget that builds itself based on the latest snapshot of interaction with a Future.
StreamBuilder https://api.flutter.dev/flutter/widgets/StreamBuilder-class.html Widget that builds itself based on the latest snapshot of interaction with a Stream.

Basics

組件名稱名字 視頻URL 組件英文描述
Appbar https://api.flutter.dev/flutter/material/AppBar-class.html A Material Design app bar. An app bar consists of a toolbar and potentially other widgets, such as a TabBar and a FlexibleSpaceBar.
Column https://api.flutter.dev/flutter/widgets/Column-class.html Layout a list of child widgets in the vertical direction.
Container https://api.flutter.dev/flutter/widgets/Container-class.html A convenience widget that combines common painting, positioning, and sizing widgets.
ElevatedButton https://api.flutter.dev/flutter/material/ElevatedButton-class.html A Material Design elevated button. A filled button whose material elevates when pressed.
FlutterLogo https://api.flutter.dev/flutter/material/FlutterLogo-class.html The Flutter logo, in widget form. This widget respects the IconTheme.
Icon https://api.flutter.dev/flutter/widgets/Icon-class.html A Material Design icon.
Image https://api.flutter.dev/flutter/widgets/Image-class.html A widget that displays an image.
Placeholder https://api.flutter.dev/flutter/widgets/Placeholder-class.html A widget that draws a box that represents where other widgets will one day be added.
Row https://api.flutter.dev/flutter/widgets/Row-class.html Layout a list of child widgets in the horizontal direction.
Scaffold https://api.flutter.dev/flutter/material/Scaffold-class.html Implements the basic Material Design visual layout structure. This class provides APIs for showing drawers, snack bars, and bottom sheets.
Text https://api.flutter.dev/flutter/widgets/Text-class.html A run of text with a single style.

Cupertino (iOS-style widgets)

組件名稱名字 視頻URL 組件英文描述
CupertinoActionSheet https://api.flutter.dev/flutter/cupertino/CupertinoActionSheet-class.html An iOS-style modal bottom action sheet to choose an option among many.
CupertinoActivityIndicator https://api.flutter.dev/flutter/cupertino/CupertinoActivityIndicator-class.html An iOS-style activity indicator. Displays a circular 'spinner'.
CupertinoAlertDialog https://api.flutter.dev/flutter/cupertino/CupertinoAlertDialog-class.html An iOS-style alert dialog.
CupertinoButton https://api.flutter.dev/flutter/cupertino/CupertinoButton-class.html An iOS-style button.
CupertinoContextMenu https://api.flutter.dev/flutter/cupertino/CupertinoContextMenu-class.html An iOS-style full-screen modal route that opens when the child is long-pressed. Used to display relevant actions for your content.
CupertinoDatePicker https://api.flutter.dev/flutter/cupertino/CupertinoDatePicker-class.html An iOS-style date or date and time picker.
CupertinoDialog https://api.flutter.dev/flutter/cupertino/CupertinoDialog-class.html An iOS-style dialog.
CupertinoDialogAction https://api.flutter.dev/flutter/cupertino/CupertinoDialogAction-class.html A button typically used in a CupertinoAlertDialog.
CupertinoFullscreenDialogTransition https://api.flutter.dev/flutter/cupertino/CupertinoFullscreenDialogTransition-class.html An iOS-style transition used for summoning fullscreen dialogs.
CupertinoNavigationBar https://api.flutter.dev/flutter/cupertino/CupertinoNavigationBar-class.html An iOS-style top navigation bar. Typically used with CupertinoPageScaffold.
CupertinoPageScaffold https://api.flutter.dev/flutter/cupertino/CupertinoPageScaffold-class.html Basic iOS style page layout structure. Positions a navigation bar and content on a background.
CupertinoPageTransition https://api.flutter.dev/flutter/cupertino/CupertinoPageTransition-class.html Provides an iOS-style page transition animation.
CupertinoPicker https://api.flutter.dev/flutter/cupertino/CupertinoPicker-class.html An iOS-style picker control. Used to select an item in a short list.
CupertinoPopupSurface https://api.flutter.dev/flutter/cupertino/CupertinoPopupSurface-class.html Rounded rectangle surface that looks like an iOS popup surface, such as an alert dialog or action sheet.
CupertinoScrollbar https://api.flutter.dev/flutter/cupertino/CupertinoScrollbar-class.html An iOS-style scrollbar that indicates which portion of a scrollable widget is currently visible.
CupertinoSearchTextField https://api.flutter.dev/flutter/cupertino/CupertinoSearchTextField-class.html An iOS-style search field.
CupertinoSegmentedControl https://api.flutter.dev/flutter/cupertino/CupertinoSegmentedControl-class.html An iOS-style segmented control. Used to select mutually exclusive options in a horizontal list.
CupertinoSlider https://api.flutter.dev/flutter/cupertino/CupertinoSlider-class.html Used to select from a range of values.
CupertinoSlidingSegmentedControl https://api.flutter.dev/flutter/cupertino/CupertinoSlidingSegmentedControl-class.html An iOS-13-style segmented control. Used to select mutually exclusive options in a horizontal list.
CupertinoSliverNavigationBar https://api.flutter.dev/flutter/cupertino/CupertinoSliverNavigationBar-class.html An iOS-styled navigation bar with iOS-11-style large titles using slivers.
CupertinoSwitch https://api.flutter.dev/flutter/cupertino/CupertinoSwitch-class.html An iOS-style switch. Used to toggle the on/off state of a single setting.
CupertinoTabBar https://api.flutter.dev/flutter/cupertino/CupertinoTabBar-class.html An iOS-style bottom tab bar. Typically used with CupertinoTabScaffold.
CupertinoTabScaffold https://api.flutter.dev/flutter/cupertino/CupertinoTabScaffold-class.html Tabbed iOS app structure. Positions a tab bar on top of tabs of content.
CupertinoTabView https://api.flutter.dev/flutter/cupertino/CupertinoTabView-class.html Root content of a tab that supports parallel navigation between tabs. Typically used with CupertinoTabScaffold.
CupertinoTextField https://api.flutter.dev/flutter/cupertino/CupertinoTextField-class.html An iOS-style text field.
CupertinoTimerPicker https://api.flutter.dev/flutter/cupertino/CupertinoTimerPicker-class.html An iOS-style countdown timer picker.

Input

組件名稱名字 視頻URL 組件英文描述
Autocomplete https://api.flutter.dev/flutter/material/Autocomplete-class.html A widget for helping the user make a selection by entering some text and choosing from among a list of options.
Form https://api.flutter.dev/flutter/widgets/Form-class.html An optional container for grouping together multiple form field widgets (e.g. TextField widgets).
FormField https://api.flutter.dev/flutter/widgets/FormField-class.html A single form field. This widget maintains the current state of the form field, so that updates and validation errors are visually reflected in the UI.
RawKeyboardListener https://api.flutter.dev/flutter/widgets/RawKeyboardListener-class.html A widget that calls a callback whenever the user presses or releases a key on a keyboard.

Interaction Models

組件名稱名字 視頻URL 組件英文描述

Touch interactions

組件名稱名字 視頻URL 組件英文描述
AbsorbPointer https://api.flutter.dev/flutter/widgets/AbsorbPointer-class.html A widget that absorbs pointers during hit testing. When absorbing is true, this widget prevents its subtree from receiving pointer events by terminating hit testing at itself. It still consumes space during layout and paints its child as usual. It just prevents its children from being the target of located events, because it returns true from RenderBox.hitTest.
Dismissible https://api.flutter.dev/flutter/widgets/Dismissible-class.html A widget that can be dismissed by dragging in the indicated direction. Dragging or flinging this widget in the DismissDirection causes the child to slide out of view. Following the slide animation, if resizeDuration is non-null, the Dismissible widget animates its height (or width, whichever is perpendicular to the dismiss direction) to zero over the resizeDuration.
DragTarget https://api.flutter.dev/flutter/widgets/DragTarget-class.html A widget that receives data when a Draggable widget is dropped. When a draggable is dragged on top of a drag target, the drag target is asked whether it will accept the data the draggable is carrying. If the user does drop the draggable on top of the drag target (and the drag target has indicated that it will accept the draggable's data), then the drag target is asked to accept the draggable's data.
Draggable https://api.flutter.dev/flutter/widgets/Draggable-class.html A widget that can be dragged from to a DragTarget. When a draggable widget recognizes the start of a drag gesture, it displays a feedback widget that tracks the user's finger across the screen. If the user lifts their finger while on top of a DragTarget, that target is given the opportunity to accept the data carried by the draggable.
DraggableScrollableSheet https://api.flutter.dev/flutter/widgets/DraggableScrollableSheet-class.html A container for a Scrollable that responds to drag gestures by resizing the scrollable until a limit is reached, and then scrolling.
GestureDetector https://api.flutter.dev/flutter/widgets/GestureDetector-class.html A widget that detects gestures. Attempts to recognize gestures that correspond to its non-null callbacks. If this widget has a child, it defers to that child for its sizing behavior. If it does not have a child, it grows to fit the parent instead.
IgnorePointer https://api.flutter.dev/flutter/widgets/IgnorePointer-class.html A widget that is invisible during hit testing. When ignoring is true, this widget (and its subtree) is invisible to hit testing. It still consumes space during layout and paints its child as usual. It just cannot be the target of located events, because it returns false from RenderBox.hitTest.
InteractiveViewer https://api.flutter.dev/flutter/widgets/InteractiveViewer-class.html A widget that enables pan and zoom interactions with its child.
LongPressDraggable https://api.flutter.dev/flutter/widgets/LongPressDraggable-class.html Makes its child draggable starting from long press.
Scrollable https://api.flutter.dev/flutter/widgets/Scrollable-class.html Scrollable implements the interaction model for a scrollable widget, including gesture recognition, but does not have an opinion about how the viewport, which actually displays the children, is constructed.

Routing

組件名稱名字 視頻URL 組件英文描述
Hero https://api.flutter.dev/flutter/widgets/Hero-class.html A widget that marks its child as being a candidate for hero animations.
Navigator https://api.flutter.dev/flutter/widgets/Navigator-class.html A widget that manages a set of child widgets with a stack discipline. Many apps have a navigator near the top of their widget hierarchy to display their logical history using an Overlay with the most recently visited pages visually on top of the older pages. Using this pattern lets the navigator visually transition from one page to another by moving the widgets around in the overlay. Similarly, the navigator can be used to show a dialog by positioning the dialog widget above the current page.

Layout

組件名稱名字 視頻URL 組件英文描述

Single-child layout widgets

組件名稱名字 視頻URL 組件英文描述
Align https://api.flutter.dev/flutter/widgets/Align-class.html A widget that aligns its child within itself and optionally sizes itself based on the child's size.
AspectRatio https://api.flutter.dev/flutter/widgets/AspectRatio-class.html A widget that attempts to size the child to a specific aspect ratio.
Baseline https://api.flutter.dev/flutter/widgets/Baseline-class.html A widget that positions its child according to the child's baseline.
Center https://api.flutter.dev/flutter/widgets/Center-class.html A widget that centers its child within itself.
ConstrainedBox https://api.flutter.dev/flutter/widgets/ConstrainedBox-class.html A widget that imposes additional constraints on its child.
Container https://api.flutter.dev/flutter/widgets/Container-class.html A convenience widget that combines common painting, positioning, and sizing widgets.
CustomSingleChildLayout https://api.flutter.dev/flutter/widgets/CustomSingleChildLayout-class.html A widget that defers the layout of its single child to a delegate.
Expanded https://api.flutter.dev/flutter/widgets/Expanded-class.html A widget that expands a child of a Row, Column, or Flex.
FittedBox https://api.flutter.dev/flutter/widgets/FittedBox-class.html Scales and positions its child within itself according to fit.
FractionallySizedBox https://api.flutter.dev/flutter/widgets/FractionallySizedBox-class.html A widget that sizes its child to a fraction of the total available space. For more details about the layout algorithm, see RenderFractionallySizedOverflowBox.
IntrinsicHeight https://api.flutter.dev/flutter/widgets/IntrinsicHeight-class.html A widget that sizes its child to the child's intrinsic height.
IntrinsicWidth https://api.flutter.dev/flutter/widgets/IntrinsicWidth-class.html A widget that sizes its child to the child's intrinsic width.
LimitedBox https://api.flutter.dev/flutter/widgets/LimitedBox-class.html A box that limits its size only when it's unconstrained.
Offstage https://api.flutter.dev/flutter/widgets/Offstage-class.html A widget that lays the child out as if it was in the tree, but without painting anything, without making the child available for hit testing, and without taking any room in the parent.
OverflowBox https://api.flutter.dev/flutter/widgets/OverflowBox-class.html A widget that imposes different constraints on its child than it gets from its parent, possibly allowing the child to overflow the parent.
Padding https://api.flutter.dev/flutter/widgets/Padding-class.html A widget that insets its child by the given padding.
SizedBox https://api.flutter.dev/flutter/widgets/SizedBox-class.html A box with a specified size. If given a child, this widget forces its child to have a specific width and/or height (assuming values are permitted by this widget's parent). If either the width or height is null, this widget will size itself to match the child's size in that dimension.
SizedOverflowBox https://api.flutter.dev/flutter/widgets/SizedOverflowBox-class.html A widget that is a specific size but passes its original constraints through to its child, which will probably overflow.
Transform https://api.flutter.dev/flutter/widgets/Transform-class.html A widget that applies a transformation before painting its child.

Multi-child layout widgets

組件名稱名字 視頻URL 組件英文描述
Column https://api.flutter.dev/flutter/widgets/Column-class.html Layout a list of child widgets in the vertical direction.
CustomMultiChildLayout https://api.flutter.dev/flutter/widgets/CustomMultiChildLayout-class.html A widget that uses a delegate to size and position multiple children.
Flow https://api.flutter.dev/flutter/widgets/Flow-class.html A widget that implements the flow layout algorithm.
GridView https://api.flutter.dev/flutter/widgets/GridView-class.html A grid list consists of a repeated pattern of cells arrayed in a vertical and horizontal layout. The GridView widget implements this component.
IndexedStack https://api.flutter.dev/flutter/widgets/IndexedStack-class.html A Stack that shows a single child from a list of children.
LayoutBuilder https://api.flutter.dev/flutter/widgets/LayoutBuilder-class.html Builds a widget tree that can depend on the parent widget's size.
ListBody https://api.flutter.dev/flutter/widgets/ListBody-class.html A widget that arranges its children sequentially along a given axis, forcing them to the dimension of the parent in the other axis.
ListView https://api.flutter.dev/flutter/widgets/ListView-class.html A scrollable, linear list of widgets. ListView is the most commonly used scrolling widget. It displays its children one after another in the scroll direction. In the cross axis, the children are required to fill the ListView.
Row https://api.flutter.dev/flutter/widgets/Row-class.html Layout a list of child widgets in the horizontal direction.
Stack https://api.flutter.dev/flutter/widgets/Stack-class.html This class is useful if you want to overlap several children in a simple way, for example having some text and an image, overlaid with a gradient and a button attached to the bottom.
Table https://api.flutter.dev/flutter/widgets/Table-class.html A widget that uses the table layout algorithm for its children.
Wrap https://api.flutter.dev/flutter/widgets/Wrap-class.html A widget that displays its children in multiple horizontal or vertical runs.

Sliver widgets

組件名稱名字 視頻URL 組件英文描述
CupertinoSliverNavigationBar https://api.flutter.dev/flutter/cupertino/CupertinoSliverNavigationBar-class.html An iOS-styled navigation bar with iOS-11-style large titles using slivers.
CustomScrollView https://api.flutter.dev/flutter/widgets/CustomScrollView-class.html A ScrollView that creates custom scroll effects using slivers.
SliverAppBar https://api.flutter.dev/flutter/material/SliverAppBar-class.html A material design app bar that integrates with a CustomScrollView.
SliverChildBuilderDelegate https://api.flutter.dev/flutter/widgets/SliverChildBuilderDelegate-class.html A delegate that supplies children for slivers using a builder callback.
SliverChildListDelegate https://api.flutter.dev/flutter/widgets/SliverChildListDelegate-class.html A delegate that supplies children for slivers using an explicit list.
SliverFixedExtentList https://api.flutter.dev/flutter/widgets/SliverFixedExtentList-class.html A sliver that places multiple box children with the same main axis extent in a linear array.
SliverGrid https://api.flutter.dev/flutter/widgets/SliverGrid-class.html A sliver that places multiple box children in a two dimensional arrangement.
SliverList https://api.flutter.dev/flutter/widgets/SliverList-class.html A sliver that places multiple box children in a linear array along the main axis.
SliverPadding https://api.flutter.dev/flutter/widgets/SliverPadding-class.html A sliver that applies padding on each side of another sliver.
SliverPersistentHeader https://api.flutter.dev/flutter/widgets/SliverPersistentHeader-class.html A sliver whose size varies when the sliver is scrolled to the edge of the viewport opposite the sliver's GrowthDirection.
SliverToBoxAdapter https://api.flutter.dev/flutter/widgets/SliverToBoxAdapter-class.html A sliver that contains a single box widget.

Material Components

組件名稱名字 視頻URL 組件英文描述

App structure and navigation

組件名稱名字 視頻URL 組件英文描述
Appbar https://api.flutter.dev/flutter/material/AppBar-class.html A Material Design app bar. An app bar consists of a toolbar and potentially other widgets, such as a TabBar and a FlexibleSpaceBar.
BottomNavigationBar https://api.flutter.dev/flutter/material/BottomNavigationBar-class.html Bottom navigation bars make it easy to explore and switch between top-level views in a single tap. The BottomNavigationBar widget implements this component.
Drawer https://api.flutter.dev/flutter/material/Drawer-class.html A Material Design panel that slides in horizontally from the edge of a Scaffold to show navigation links in an application.
MaterialApp https://api.flutter.dev/flutter/material/MaterialApp-class.html A convenience widget that wraps a number of widgets that are commonly required for applications implementing Material Design.
Scaffold https://api.flutter.dev/flutter/material/Scaffold-class.html Implements the basic Material Design visual layout structure. This class provides APIs for showing drawers, snack bars, and bottom sheets.
SliverAppBar https://api.flutter.dev/flutter/material/SliverAppBar-class.html A material design app bar that integrates with a CustomScrollView.
TabBar https://api.flutter.dev/flutter/material/TabBar-class.html A Material Design widget that displays a horizontal row of tabs.
TabBarView https://api.flutter.dev/flutter/material/TabBarView-class.html A page view that displays the widget which corresponds to the currently selected tab. Typically used in conjunction with a TabBar.
TabController https://api.flutter.dev/flutter/material/TabController-class.html Coordinates tab selection between a TabBar and a TabBarView.
TabPageSelector https://api.flutter.dev/flutter/material/TabPageSelector-class.html Displays a row of small circular indicators, one per tab. The selected tab's indicator is highlighted. Often used in conjunction with a TabBarView.
WidgetsApp https://api.flutter.dev/flutter/widgets/WidgetsApp-class.html A convenience class that wraps a number of widgets that are commonly required for an application.

Buttons

組件名稱名字 視頻URL 組件英文描述
DropdownButton https://api.flutter.dev/flutter/material/DropdownButton-class.html Shows the currently selected item and an arrow that opens a menu for selecting another item.
ElevatedButton https://api.flutter.dev/flutter/material/ElevatedButton-class.html A Material Design elevated button. A filled button whose material elevates when pressed.
FloatingActionButton https://api.flutter.dev/flutter/material/FloatingActionButton-class.html A floating action button is a circular icon button that hovers over content to promote a primary action in the application. Floating action buttons are most commonly used in the Scaffold.floatingActionButton field.
IconButton https://api.flutter.dev/flutter/material/IconButton-class.html An icon button is a picture printed on a Material widget that reacts to touches by filling with color (ink).
OutlinedButton https://api.flutter.dev/flutter/material/OutlinedButton-class.html A Material Design outlined button, essentially a TextButton with an outlined border.
PopupMenuButton https://api.flutter.dev/flutter/material/PopupMenuButton-class.html Displays a menu when pressed and calls onSelected when the menu is dismissed because an item was selected.
TextButton https://api.flutter.dev/flutter/material/TextButton-class.html A Material Design text button. A simple flat button without a border outline.

Input and selections

組件名稱名字 視頻URL 組件英文描述
Checkbox https://api.flutter.dev/flutter/material/Checkbox-class.html Checkboxes allow the user to select multiple options from a set. The Checkbox widget implements this component.
Date & Time Pickers https://api.flutter.dev/flutter/material/showDatePicker.html Date pickers use a dialog window to select a single date on mobile. Time pickers use a dialog to select a single time (in the hours:minutes format) on mobile.
Radio https://api.flutter.dev/flutter/material/Radio-class.html Radio buttons allow the user to select one option from a set. Use radio buttons for exclusive selection if you think that the user needs to see all available options side-by-side.
Slider https://api.flutter.dev/flutter/material/Slider-class.html Sliders let users select from a range of values by moving the slider thumb.
Switch https://api.flutter.dev/flutter/material/Switch-class.html On/off switches toggle the state of a single settings option. The Switch widget implements this component.
TextField https://api.flutter.dev/flutter/material/TextField-class.html Touching a text field places the cursor and displays the keyboard. The TextField widget implements this component.

Dialogs, alerts, and panels

組件名稱名字 視頻URL 組件英文描述
AlertDialog https://api.flutter.dev/flutter/material/AlertDialog-class.html Alerts are urgent interruptions requiring acknowledgement that inform the user about a situation. The AlertDialog widget implements this component.
BottomSheet https://api.flutter.dev/flutter/material/BottomSheet-class.html Bottom sheets slide up from the bottom of the screen to reveal more content. You can call showBottomSheet() to implement a persistent bottom sheet or showModalBottomSheet() to implement a modal bottom sheet.
ExpansionPanel https://api.flutter.dev/flutter/material/ExpansionPanel-class.html Expansion panels contain creation flows and allow lightweight editing of an element. The ExpansionPanel widget implements this component.
SimpleDialog https://api.flutter.dev/flutter/material/SimpleDialog-class.html Simple dialogs can provide additional details or actions about a list item. For example they can display avatars icons clarifying subtext or orthogonal actions (such as adding an account).
SnackBar https://api.flutter.dev/flutter/material/SnackBar-class.html A lightweight message with an optional action which briefly displays at the bottom of the screen.

Information displays

組件名稱名字 視頻URL 組件英文描述
Card https://api.flutter.dev/flutter/material/Card-class.html A Material Design card. A card has slightly rounded corners and a shadow.
Chip https://api.flutter.dev/flutter/material/Chip-class.html A Material Design chip. Chips represent complex entities in small blocks, such as a contact.
CircularProgressIndicator https://api.flutter.dev/flutter/material/CircularProgressIndicator-class.html A material design circular progress indicator, which spins to indicate that the application is busy.
DataTable https://api.flutter.dev/flutter/material/DataTable-class.html Data tables display sets of raw data. They usually appear in desktop enterprise products. The DataTable widget implements this component.
GridView https://api.flutter.dev/flutter/widgets/GridView-class.html A grid list consists of a repeated pattern of cells arrayed in a vertical and horizontal layout. The GridView widget implements this component.
Icon https://api.flutter.dev/flutter/widgets/Icon-class.html A Material Design icon.
Image https://api.flutter.dev/flutter/widgets/Image-class.html A widget that displays an image.
LinearProgressIndicator https://api.flutter.dev/flutter/material/LinearProgressIndicator-class.html A material design linear progress indicator, also known as a progress bar.
Tooltip https://api.flutter.dev/flutter/material/Tooltip-class.html Tooltips provide text labels that help explain the function of a button or other user interface action. Wrap the button in a Tooltip widget to show a label when the widget long pressed (or when the user takes some other appropriate action).

Layout

組件名稱名字 視頻URL 組件英文描述
Divider https://api.flutter.dev/flutter/material/Divider-class.html A one logical pixel thick horizontal line, with padding on either side.
ListTile https://api.flutter.dev/flutter/material/ListTile-class.html A single fixed-height row that typically contains some text as well as a leading or trailing icon.
Stepper https://api.flutter.dev/flutter/material/Stepper-class.html A Material Design stepper widget that displays progress through a sequence of steps.

Painting and effects

組件名稱名字 視頻URL 組件英文描述
BackdropFilter https://api.flutter.dev/flutter/widgets/BackdropFilter-class.html A widget that applies a filter to the existing painted content and then paints a child. This effect is relatively expensive, especially if the filter is non-local, such as a blur.
ClipOval https://api.flutter.dev/flutter/widgets/ClipOval-class.html A widget that clips its child using an oval.
ClipPath https://api.flutter.dev/flutter/widgets/ClipPath-class.html A widget that clips its child using a path.
ClipRect https://api.flutter.dev/flutter/widgets/ClipRect-class.html A widget that clips its child using a rectangle.
CustomPaint https://api.flutter.dev/flutter/widgets/CustomPaint-class.html A widget that provides a canvas on which to draw during the paint phase.
DecoratedBox https://api.flutter.dev/flutter/widgets/DecoratedBox-class.html A widget that paints a Decoration either before or after its child paints.
FractionalTranslation https://api.flutter.dev/flutter/widgets/FractionalTranslation-class.html A widget that applies a translation expressed as a fraction of the box's size before painting its child.
Opacity https://api.flutter.dev/flutter/widgets/Opacity-class.html A widget that makes its child partially transparent.
RotatedBox https://api.flutter.dev/flutter/widgets/RotatedBox-class.html A widget that rotates its child by a integral number of quarter turns.
Transform https://api.flutter.dev/flutter/widgets/Transform-class.html A widget that applies a transformation before painting its child.

Scrolling

組件名稱名字 視頻URL 組件英文描述
CustomScrollView https://api.flutter.dev/flutter/widgets/CustomScrollView-class.html A ScrollView that creates custom scroll effects using slivers.
DraggableScrollableSheet https://api.flutter.dev/flutter/widgets/DraggableScrollableSheet-class.html A container for a Scrollable that responds to drag gestures by resizing the scrollable until a limit is reached, and then scrolling.
GridView https://api.flutter.dev/flutter/widgets/GridView-class.html A grid list consists of a repeated pattern of cells arrayed in a vertical and horizontal layout. The GridView widget implements this component.
ListView https://api.flutter.dev/flutter/widgets/ListView-class.html A scrollable, linear list of widgets. ListView is the most commonly used scrolling widget. It displays its children one after another in the scroll direction. In the cross axis, the children are required to fill the ListView.
NestedScrollView https://api.flutter.dev/flutter/widgets/NestedScrollView-class.html A scrolling view inside of which can be nested other scrolling views, with their scroll positions being intrinsically linked.
NotificationListener https://api.flutter.dev/flutter/widgets/NotificationListener-class.html A widget that listens for Notifications bubbling up the tree.
PageView https://api.flutter.dev/flutter/widgets/PageView-class.html A scrollable list that works page by page.
RefreshIndicator https://api.flutter.dev/flutter/material/RefreshIndicator-class.html A Material Design pull-to-refresh wrapper for scrollables.
ReorderableListView https://api.flutter.dev/flutter/material/ReorderableListView-class.html A list whose items the user can interactively reorder by dragging.
ScrollConfiguration https://api.flutter.dev/flutter/widgets/ScrollConfiguration-class.html Controls how Scrollable widgets behave in a subtree.
Scrollable https://api.flutter.dev/flutter/widgets/Scrollable-class.html Scrollable implements the interaction model for a scrollable widget, including gesture recognition, but does not have an opinion about how the viewport, which actually displays the children, is constructed.
Scrollbar https://api.flutter.dev/flutter/material/Scrollbar-class.html A Material Design scrollbar. A scrollbar indicates which portion of a Scrollable widget is actually visible.
SingleChildScrollView https://api.flutter.dev/flutter/widgets/SingleChildScrollView-class.html A box in which a single widget can be scrolled. This widget is useful when you have a single box that will normally be entirely visible, for example a clock face in a time picker, but you need to make sure it can be scrolled if the container gets too small in one axis (the scroll direction).

Styling

組件名稱名字 視頻URL 組件英文描述
MediaQuery https://api.flutter.dev/flutter/widgets/MediaQuery-class.html Establishes a subtree in which media queries resolve to the given data.
Padding https://api.flutter.dev/flutter/widgets/Padding-class.html A widget that insets its child by the given padding.
Theme https://api.flutter.dev/flutter/material/Theme-class.html Applies a theme to descendant widgets. A theme describes the colors and typographic choices of an application.

Text

組件名稱名字 視頻URL 組件英文描述
DefaultTextStyle https://api.flutter.dev/flutter/widgets/DefaultTextStyle-class.html The text style to apply to descendant Text widgets without explicit style.
RichText https://api.flutter.dev/flutter/widgets/RichText-class.html The RichText widget displays text that uses multiple different styles. The text to display is described using a tree of TextSpan objects, each of which has an associated style that is used for that subtree. The text might break across multiple lines or might all be displayed on the same line depending on the layout constraints.
Text https://api.flutter.dev/flutter/widgets/Text-class.html A run of text with a single style.
最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末雕蔽,一起剝皮案震驚了整個濱河市折柠,隨后出現(xiàn)的幾起案子,更是在濱河造成了極大的恐慌批狐,老刑警劉巖扇售,帶你破解...
    沈念sama閱讀 221,273評論 6 515
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件,死亡現(xiàn)場離奇詭異嚣艇,居然都是意外死亡承冰,警方通過查閱死者的電腦和手機,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 94,349評論 3 398
  • 文/潘曉璐 我一進店門食零,熙熙樓的掌柜王于貴愁眉苦臉地迎上來困乒,“玉大人,你說我怎么就攤上這事贰谣《パ啵” “怎么了凑保?”我有些...
    開封第一講書人閱讀 167,709評論 0 360
  • 文/不壞的土叔 我叫張陵,是天一觀的道長涌攻。 經(jīng)常有香客問我欧引,道長,這世上最難降的妖魔是什么恳谎? 我笑而不...
    開封第一講書人閱讀 59,520評論 1 296
  • 正文 為了忘掉前任芝此,我火速辦了婚禮,結(jié)果婚禮上因痛,老公的妹妹穿的比我還像新娘婚苹。我一直安慰自己,他們只是感情好鸵膏,可當(dāng)我...
    茶點故事閱讀 68,515評論 6 397
  • 文/花漫 我一把揭開白布膊升。 她就那樣靜靜地躺著,像睡著了一般谭企。 火紅的嫁衣襯著肌膚如雪廓译。 梳的紋絲不亂的頭發(fā)上,一...
    開封第一講書人閱讀 52,158評論 1 308
  • 那天债查,我揣著相機與錄音非区,去河邊找鬼。 笑死盹廷,一個胖子當(dāng)著我的面吹牛征绸,可吹牛的內(nèi)容都是我干的。 我是一名探鬼主播俄占,決...
    沈念sama閱讀 40,755評論 3 421
  • 文/蒼蘭香墨 我猛地睜開眼管怠,長吁一口氣:“原來是場噩夢啊……” “哼!你這毒婦竟也來了缸榄?” 一聲冷哼從身側(cè)響起排惨,我...
    開封第一講書人閱讀 39,660評論 0 276
  • 序言:老撾萬榮一對情侶失蹤,失蹤者是張志新(化名)和其女友劉穎碰凶,沒想到半個月后暮芭,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體,經(jīng)...
    沈念sama閱讀 46,203評論 1 319
  • 正文 獨居荒郊野嶺守林人離奇死亡欲低,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 38,287評論 3 340
  • 正文 我和宋清朗相戀三年辕宏,在試婚紗的時候發(fā)現(xiàn)自己被綠了。 大學(xué)時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片砾莱。...
    茶點故事閱讀 40,427評論 1 352
  • 序言:一個原本活蹦亂跳的男人離奇死亡瑞筐,死狀恐怖,靈堂內(nèi)的尸體忽然破棺而出腊瑟,到底是詐尸還是另有隱情聚假,我是刑警寧澤块蚌,帶...
    沈念sama閱讀 36,122評論 5 349
  • 正文 年R本政府宣布,位于F島的核電站膘格,受9級特大地震影響峭范,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜瘪贱,卻給世界環(huán)境...
    茶點故事閱讀 41,801評論 3 333
  • 文/蒙蒙 一纱控、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧菜秦,春花似錦甜害、人聲如沸。這莊子的主人今日做“春日...
    開封第一講書人閱讀 32,272評論 0 23
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽。三九已至主慰,卻和暖如春嚣州,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背河哑。 一陣腳步聲響...
    開封第一講書人閱讀 33,393評論 1 272
  • 我被黑心中介騙來泰國打工, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留龟虎,地道東北人璃谨。 一個月前我還...
    沈念sama閱讀 48,808評論 3 376
  • 正文 我出身青樓,卻偏偏與公主長得像鲤妥,于是被迫代替她去往敵國和親佳吞。 傳聞我的和親對象是個殘疾皇子,可洞房花燭夜當(dāng)晚...
    茶點故事閱讀 45,440評論 2 359

推薦閱讀更多精彩內(nèi)容