flutter

v2026.09.24

Flutter framework for building beautiful, fast user experiences for mobile, web, and desktop from a single codebase. Use when building Flutter apps, working with widgets, state management, navigation, animations, or Material Design components.

GitHub
安装命令
npx skhub add hairyf/flutter
Markdown
SKILL.md

Flutter

The skill is based on Flutter framework, generated at 2026-01-31.

Flutter is Google's SDK for crafting beautiful, fast user experiences for mobile, web, and desktop from a single codebase. Flutter works with existing code, is used by developers and organizations around the world, and is free and open source.

Flutter uses Dart as its programming language and follows a widget-based architecture where everything is a widget. The framework provides hot reload for fast development cycles, a rich set of Material Design and Cupertino widgets, and excellent performance through compiled code.

Core References

TopicDescriptionReference
Widget SystemStatelessWidget, StatefulWidget, Widget lifecycle, keyscore-widgets
State ManagementsetState, StatefulWidget, ValueNotifier, ChangeNotifiercore-state-management
Layout SystemRow, Column, Stack, Flex, constraints, sizingcore-layout
BuildContextContext usage, InheritedWidget, theme accesscore-build-context
InheritedWidgetSharing data down widget tree, InheritedWidget patternsfeatures-inherited-widget

Widgets

Basic Widgets

TopicDescriptionReference
Text & StylingText widget, TextStyle, RichText, TextSpanwidgets-text
ImagesImage widget, AssetImage, NetworkImage, ImageProviderwidgets-images
IconsIcon widget, IconData, IconThemewidgets-icons
ButtonsElevatedButton, TextButton, OutlinedButton, IconButtonwidgets-buttons
Input FieldsTextField, TextFormField, Form, FormFieldwidgets-input
Async WidgetsFutureBuilder, StreamBuilder, async operationswidgets-async
ValueListenableBuilderBuilding widgets based on ValueListenable changeswidgets-value-listenable
PageViewSwipeable pages, PageController, page navigationwidgets-pageview
RefreshIndicatorPull-to-refresh functionalitywidgets-refresh-indicator
DismissibleSwipe-to-dismiss widgetswidgets-dismissible
TabBar & TabsTab navigation, TabController, TabBarViewwidgets-tabs
Forms & ValidationForm validation, validators, form handlingfeatures-forms-validation

Layout Widgets

TopicDescriptionReference
Flex LayoutsRow, Column, Flex, Flexible, Expandedlayout-flex
Stack LayoutStack, Positioned, alignmentlayout-stack
ContainerContainer, BoxDecoration, padding, marginlayout-container
List ViewsListView, ListTile, GridView, Sliver widgetslayout-lists
SliversCustomScrollView, SliverList, SliverGrid, advanced scrollingfeatures-slivers
Scroll ControllerProgrammatic scroll control, scroll listenersfeatures-scroll-controller

Features

Navigation

TopicDescriptionReference
NavigatorNavigator.push, Navigator.pop, routesfeatures-navigation
Named RoutesRoute configuration, onGenerateRoutefeatures-named-routes
RouterGoRouter, declarative routingfeatures-router

Animations

TopicDescriptionReference
Implicit AnimationsAnimatedContainer, AnimatedOpacity, AnimatedSizefeatures-implicit-animations
Explicit AnimationsAnimationController, Tween, AnimationBuilderfeatures-explicit-animations
Hero AnimationsHero widget, shared element transitionsfeatures-hero-animations

Material Design

TopicDescriptionReference
Material AppMaterialApp, Theme, ThemeDatafeatures-material-app
Material ComponentsAppBar, Scaffold, Drawer, BottomNavigationBarfeatures-material-components
Material 3Material 3 design system, color schemesfeatures-material-3

Cupertino (iOS)

TopicDescriptionReference
Cupertino WidgetsiOS-style widgets, CupertinoApp, CupertinoNavigationBarfeatures-cupertino

UI Components

TopicDescriptionReference
Dialogs & ModalsAlertDialog, showDialog, showModalBottomSheetfeatures-dialogs
Focus ManagementFocusNode, FocusScope, keyboard navigationfeatures-focus

Platform Integration

TopicDescriptionReference
Platform ChannelsMethodChannel, EventChannel, native communicationfeatures-platform-channels
Platform ViewsAndroidView, UiKitView, embedding native viewsfeatures-platform-views
Assets & ResourcesAsset management, pubspec.yaml, asset loadingfeatures-assets
HTTP & NetworkingHTTP requests, API calls, JSON parsingfeatures-http
Responsive DesignMediaQuery, LayoutBuilder, screen adaptationfeatures-responsive
KeysValueKey, ObjectKey, GlobalKey, when to use keysfeatures-keys
Widget LifecycleinitState, dispose, lifecycle managementfeatures-lifecycle
Error HandlingTry-catch, error widgets, error boundariesfeatures-error-handling
PopScopeHandle back button and navigation pop eventsfeatures-pop-scope

Advanced

TopicDescriptionReference
Custom PaintCustomPainter, Canvas, custom graphicsadvanced-custom-paint
GesturesGestureDetector, GestureRecognizer, drag and dropadvanced-gestures
PerformancePerformance optimization, const constructors, keysadvanced-performance
TestingWidget testing, integration testing, test utilitiesadvanced-testing

Best Practices

TopicDescriptionReference
State ManagementWhen to use setState, state lifting, patternsbest-practices-state
PerformanceOptimization techniques, const usage, patternsbest-practices-performance
发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

2026年9月24日

分类

未分类

许可证

MIT

源路径

skills/flutter

默认分支

main

最新提交

4f463c7

Tree SHA

73bcd03