Các loại widget trong Flutter

Widget trong Flutter chia làm các loại sau:

  • Accessibility Make your app accessible.
  • Animation and Motion Bring animations to your app.
  • Assets, Images, and Icons Manage assets, display images, and show icons.
  • Async Async patterns to your Flutter application.
  • Cupertino (iOS-style widgets) Beautiful and high-fidelity widgets for current iOS design language.
  • Input Take user input in addition to input widgets in Material Components and Cupertino.
  • Interaction Models Respond to touch events and route users to different views.
  • Layout Arrange other widgets columns, rows, grids, and many other layouts.
  • Material Components Visual, behavioral, and motion-rich widgets implementing the Material Design guidelines.
  • Painting and effects These widgets apply visual effects to the children without changing their layout, size, or position.
  • Scrolling Scroll multiple widgets as children of the parent.
  • Styling Quản lý giao diện (theme) của ứng dụng, giúp ứng dụng của bạn responsive với nhiều kích thước màn hình hoặc cách lề padding khác nhau.
  • Text Dùng để hiện thị và thêm các style cho văn bản.

Trong đó, một số widget cơ bản mà bạn bắt buộc phải biết là Basics

Các Widget cơ bản nhất

Các Widget sắp xếp theo tên