"Every Thing is a Widget in Flutter" Vậy thì có những Widget nào mà bạn cần phải biết? Trong video #8 này bạn sẽ được tìm hiểu một số Basic Widget cực kỳ quan trọng trong Flutter
- It leans on Material style guidelines.
- Provides a ton of benefits that effect its entire widget sub-tree: Theme, Router, Localization, Navigator, ...
- There is no drawback to using MaterialApp, even if you don’t want to use Material Design guidelines.
- Normally, it is a root of your app.
2. Tìm hiểu Scaffold Widget trong Flutter
- Scaffold is designed to make applications (that follow Material guidelines) as easy as possible to build.
- Per the Flutter docs, it defines the “basic Material Design visual layout,” which means it can make your app look like this pretty easily.
- Constructor method: it has over 10 named arguments.
3. Tìm hiểu Text Widget trong Flutter
- A run of text with a single style.
- The style widget is optional to decoration.
4. Tìm hiểu RichText Widget trong Flutter
A run of text with a multiply style.
5. Tìm hiểu Image Widget trong Flutter
Several constructors are provided:
- Image.asset(‘assets/image/ dart_lang.png’)
- Image.network(‘https://edu.200lab.io/dart_lang.png’)
- Image.file(File file)
6. Tìm hiểu Elevated Button Widget trong Flutter
A material Design “elevated button”
7. Tìm hiểu Text Button Widget trong Flutter
Bạn có thể tải tài liệu của video này ở dưới đây
Bài viết chỉ dành cho người dùng trả phí
Sign up now and upgrade your account to read the post and get access to the full library of posts for paying subscribers only.
Khu vực nội dung chỉ dành cho các subscribers
Sign up now to read the post. To get access to the full library of posts, you can be a paying subscriber
Đã có tài khoản ? Sign in
Bài viết liên quan
10 Dart Array Methods trong Flutter bạn cần biết
Sep 02, 2023 • 6 min read
Tự học Dart: Các Dart Operators (toán tử) bạn cần biết
Sep 02, 2023 • 18 min read
Flutter cơ bản: Điều cần biết khi lập trình ứng dụng đầu tiên
Aug 23, 2023 • 13 min read
9 Flutter Widget hữu ích bạn cần biết
Aug 22, 2023 • 9 min read
Dart là gì? Giới thiệu cơ bản về ngôn ngữ lập trình Dart
Aug 21, 2023 • 11 min read
Flutter là gì? Vì sao nên học công cụ lập trình Flutter?
Aug 19, 2023 • 11 min read