🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
# Flutter之widgets库 ``` CLASSES AbsorbPointer Align Alignment AlignmentDirectional AlignmentGeometry AlignmentGeometryTween AlignmentTween AlignTransition AlwaysScrollableScrollPhysics AlwaysStoppedAnimation AndroidView Animatable AnimatedAlign AnimatedBuilder AnimatedContainer AnimatedCrossFade AnimatedDefaultTextStyle AnimatedList AnimatedListState AnimatedModalBarrier AnimatedOpacity AnimatedPadding AnimatedPhysicalModel AnimatedPositioned AnimatedPositionedDirectional AnimatedSize AnimatedSwitcher AnimatedWidget AnimatedWidgetBaseState Animation AnimationController AnimationMax AnimationMean AnimationMin AnnotatedRegion AspectRatio AssetBundleImageKey AssetBundleImageProvider AssetImage AsyncSnapshot AutomaticKeepAlive BackdropFilter BallisticScrollActivity Banner BannerPainter Baseline BeveledRectangleBorder BlockSemantics Border BorderDirectional BorderRadius BorderRadiusDirectional BorderRadiusGeometry BorderRadiusTween BorderSide BorderTween BottomNavigationBarItem BouncingScrollPhysics BouncingScrollSimulation BoxBorder BoxConstraints BoxConstraintsTween BoxDecoration BoxPainter BoxScrollView BoxShadow BuildContext Builder BuildOwner Canvas Center ChangeNotifier CheckedModeBanner CircleBorder CircularNotchedRectangle ClampingScrollPhysics ClampingScrollSimulation ClipContext ClipOval ClipPath ClipRect ClipRRect Color ColorFilter ColorSwatch ColorTween Column ComponentElement CompositedTransformFollower CompositedTransformTarget CompoundAnimation ConstantTween ConstrainedBox Container Cubic Curve CurvedAnimation Curves CurveTween CustomClipper CustomMultiChildLayout CustomPaint CustomPainter CustomPainterSemantics CustomScrollView CustomSingleChildLayout DecoratedBox DecoratedBoxTransition Decoration DecorationImage DecorationImagePainter DecorationTween DefaultAssetBundle DefaultTextStyle DefaultTextStyleTransition DefaultWidgetsLocalizations Directionality Dismissible DragDownDetails DragEndDetails Draggable DraggableDetails DragScrollActivity DragStartDetails DragTarget DragUpdateDetails DrivenScrollActivity EdgeInsets EdgeInsetsDirectional EdgeInsetsGeometry EdgeInsetsGeometryTween EdgeInsetsTween EditableText EditableTextState ElasticInCurve ElasticInOutCurve ElasticOutCurve Element ErrorWidget ExactAssetImage ExcludeSemantics Expanded FadeInImage FadeTransition FileImage FittedBox FittedSizes FixedColumnWidth FixedExtentMetrics FixedExtentScrollController FixedExtentScrollPhysics FixedScrollMetrics Flex FlexColumnWidth Flexible FlippedCurve Flow FlowDelegate FlowPaintingContext FlutterErrorDetails FlutterLogoDecoration FocusManager FocusNode FocusScope FocusScopeNode FontWeight Form FormField FormFieldState FormState FractionallySizedBox FractionalOffset FractionalOffsetTween FractionalTranslation FractionColumnWidth FutureBuilder GestureDetector GestureRecognizerFactory GestureRecognizerFactoryWithHandlers GlobalKey GlobalObjectKey GlowingOverscrollIndicator Gradient GridPaper GridView Hero HeroController HoldScrollActivity HSLColor HSVColor Icon IconData IconTheme IconThemeData IdleScrollActivity IgnorePointer Image ImageCache ImageConfiguration ImageIcon ImageInfo ImageProvider ImageShader ImageStream ImageStreamCompleter ImplicitlyAnimatedWidget ImplicitlyAnimatedWidgetState IndexedSemantics IndexedStack InheritedElement InheritedModel InheritedModelElement InheritedNotifier InheritedWidget InspectorSelection Interval IntrinsicColumnWidth IntrinsicHeight IntrinsicWidth IntTween KeepAlive KeepAliveHandle KeepAliveNotification Key KeyedSubtree LabeledGlobalKey LayerLink LayoutBuilder LayoutChangedNotification LayoutId LeafRenderObjectElement LeafRenderObjectWidget LimitedBox LinearGradient ListBody Listenable Listener ListView ListWheelChildBuilderDelegate ListWheelChildDelegate ListWheelChildListDelegate ListWheelChildLoopingListDelegate ListWheelElement ListWheelScrollView ListWheelViewport Locale LocalHistoryEntry Localizations LocalizationsDelegate LocalKey LongPressDraggable MaskFilter Matrix4 Matrix4Tween MatrixUtils MaxColumnWidth MediaQuery MediaQueryData MemoryImage MergeSemantics MetaData MinColumnWidth ModalBarrier ModalRoute MultiChildLayoutDelegate MultiChildRenderObjectElement MultiChildRenderObjectWidget MultiFrameImageStreamCompleter NavigationToolbar Navigator NavigatorObserver NavigatorState NestedScrollView NestedScrollViewViewport NetworkImage NeverScrollableScrollPhysics NotchedShape Notification NotificationListener ObjectKey Offset Offstage OneFrameImageStreamCompleter Opacity OrientationBuilder OverflowBox Overlay OverlayEntry OverlayRoute OverlayState OverscrollIndicatorNotification OverscrollNotification Padding PageController PageMetrics PageRoute PageRouteBuilder PageScrollPhysics PageStorage PageStorageBucket PageStorageKey PageView Paint PaintingContext ParentDataElement ParentDataWidget Path PerformanceOverlay PhysicalModel PhysicalShape Placeholder PointerCancelEvent PointerDownEvent PointerEvent PointerMoveEvent PointerUpEvent PopupRoute Positioned PositionedDirectional PositionedTransition PreferredSize PreferredSizeWidget PrimaryScrollController ProxyAnimation ProxyElement ProxyWidget RadialGradient Radius RawGestureDetector RawGestureDetectorState RawImage RawKeyboardListener RawKeyEvent Rect RectTween RelativePositionedTransition RelativeRect RelativeRectTween RenderBox RenderNestedScrollViewViewport RenderObject RenderObjectElement RenderObjectToWidgetAdapter RenderObjectToWidgetElement RenderObjectWidget RenderSliverOverlapAbsorber RenderSliverOverlapInjector RepaintBoundary ReverseAnimation ReverseTween RichText RootRenderObjectElement RotatedBox RotationTransition RoundedRectangleBorder Route RouteAware RouteObserver RouteSettings Row RRect RSTransform SafeArea SawTooth ScaleEndDetails ScaleStartDetails ScaleTransition ScaleUpdateDetails Scrollable ScrollableState ScrollActivity ScrollActivityDelegate ScrollbarPainter ScrollBehavior ScrollConfiguration ScrollContext ScrollController ScrollDragController ScrollEndNotification ScrollHoldController ScrollMetrics ScrollNotification ScrollPhysics ScrollPosition ScrollPositionWithSingleContext ScrollSpringSimulation ScrollStartNotification ScrollUpdateNotification ScrollView Semantics SemanticsDebugger Shader ShaderMask Shadow ShapeBorder ShapeBorderClipper ShapeDecoration ShrinkWrappingViewport Simulation SingleChildLayoutDelegate SingleChildRenderObjectElement SingleChildRenderObjectWidget SingleChildScrollView Size SizeChangedLayoutNotification SizeChangedLayoutNotifier SizedBox SizedOverflowBox SizeTransition SizeTween SlideTransition SliverChildBuilderDelegate SliverChildDelegate SliverChildListDelegate SliverFillRemaining SliverFillViewport SliverFixedExtentList SliverGrid SliverGridDelegate SliverGridDelegateWithFixedCrossAxisCount SliverGridDelegateWithMaxCrossAxisExtent SliverList SliverMultiBoxAdaptorElement SliverMultiBoxAdaptorWidget SliverOverlapAbsorber SliverOverlapAbsorberHandle SliverOverlapInjector SliverPadding SliverPersistentHeader SliverPersistentHeaderDelegate SliverPrototypeExtentList SliverSafeArea SliverToBoxAdapter SliverWithKeepAliveWidget Spacer Stack StadiumBorder State StatefulBuilder StatefulElement StatefulWidget StatelessElement StatelessWidget StatusTransitionWidget StepTween StreamBuilder StreamBuilderBase SweepGradient Table TableBorder TableCell TableColumnWidth TableRow TapDownDetails TapUpDetails Text TextBox TextDecoration TextEditingController TextEditingValue TextInputType TextPainter TextPosition TextRange TextSelection TextSelectionControls TextSelectionDelegate TextSelectionOverlay TextSpan TextStyle TextStyleTween Texture Threshold TickerFuture TickerMode TickerProvider Title Tolerance TrackingScrollController TrainHoppingAnimation Transform TransformProperty TransitionRoute Tween TweenSequence TweenSequenceItem TypeMatcher UiKitView UnconstrainedBox UniqueKey UniqueWidget UserScrollNotification ValueKey ValueListenableBuilder ValueNotifier Velocity Viewport Visibility Widget WidgetInspector WidgetsApp WidgetsBindingObserver WidgetsFlutterBinding WidgetsLocalizations WidgetToRenderBoxAdapter WillPopScope Wrap MIXINS AnimationEagerListenerMixin AnimationLazyListenerMixin AnimationLocalListenersMixin AnimationLocalStatusListenersMixin AnimationWithParentMixin AutomaticKeepAliveClientMixin LocalHistoryRoute PaintingBinding SingleTickerProviderStateMixin TickerProviderStateMixin ViewportNotificationMixin WidgetInspectorService WidgetsBinding CONSTANTS immutable kAlwaysCompleteAnimation kAlwaysDismissedAnimation mustCallSuper optionalTypeArgs protected required visibleForTesting PROPERTIES debugDisableShadows debugHighlightDeprecatedWidgets debugOnRebuildDirtyWidget debugPrint debugPrintBuildScope debugPrintGlobalKeyedWidgetLifecycle debugPrintRebuildDirtyWidgets debugPrintScheduleBuildForStacks debugProfileBuildsEnabled imageCache FUNCTIONS applyBoxFit axisDirectionIsReversed axisDirectionToAxis createLocalImageConfiguration debugAssertAllPaintingVarsUnset debugAssertAllWidgetVarsUnset debugCheckHasDirectionality debugCheckHasMediaQuery debugCheckHasTable debugChildrenHaveDuplicateKeys debugDescribeTransform debugDumpApp debugDumpLayerTree debugDumpRenderTree debugItemsHaveDuplicateKeys debugPrintStack debugWidgetBuilderValue decodeImageFromList defaultScrollNotificationPredicate flipAxis flipAxisDirection getAxisDirectionFromAxisReverseAndDirectionality hashList hashValues paintBorder paintImage paintZigZag positionDependentBox precacheImage runApp showGeneralDialog textDirectionToAxisDirection ENUMS AnimationBehavior AnimationStatus AppLifecycleState Axis AxisDirection BannerLocation BlendMode BlurStyle BorderStyle BoxFit BoxShape Clip ConnectionState CrossAxisAlignment CrossFadeState DecorationPosition DiagnosticLevel DismissDirection DragAnchor FadeInImagePhase FilterQuality FlexFit FlutterLogoStyle FontStyle GrowthDirection HeroFlightDirection HitTestBehavior ImageRepeat MainAxisAlignment MainAxisSize Orientation Overflow PaintingStyle PathFillType PathOperation RenderComparison RoutePopDisposition SelectionChangedCause StackFit StrokeCap StrokeJoin TableCellVerticalAlignment TargetPlatform TextAffinity TextAlign TextBaseline TextDecorationStyle TextDirection TextOverflow TextSelectionHandleType TileMode VertexMode VerticalDirection WrapAlignment WrapCrossAlignment TYPEDEFS AnimatedCrossFadeBuilder AnimatedListItemBuilder AnimatedListRemovedItemBuilder AnimatedSwitcherLayoutBuilder AnimatedSwitcherTransitionBuilder AnimationStatusListener AsyncWidgetBuilder ControlsWidgetBuilder CreateRectTween DismissDirectionCallback DragEndCallback DraggableCanceledCallback DragTargetAccept DragTargetBuilder DragTargetLeave DragTargetWillAccept ElementVisitor ErrorWidgetBuilder FormFieldBuilder FormFieldSetter FormFieldValidator GenerateAppTitle GestureDragCancelCallback GestureDragDownCallback GestureDragEndCallback GestureDragStartCallback GestureDragUpdateCallback GestureLongPressCallback GestureRecognizerFactoryConstructor GestureRecognizerFactoryInitializer GestureScaleEndCallback GestureScaleStartCallback GestureScaleUpdateCallback GestureTapCallback GestureTapCancelCallback GestureTapDownCallback GestureTapUpCallback HeroFlightShuttleBuilder ImageErrorListener ImageListener IndexedWidgetBuilder InspectorSelectButtonBuilder InspectorSelectionChangedCallback LayoutWidgetBuilder LocaleListResolutionCallback LocaleResolutionCallback NestedScrollViewHeaderSliversBuilder NotificationListenerCallback OrientationWidgetBuilder PageRouteFactory PointerCancelEventListener PointerDownEventListener PointerMoveEventListener PointerUpEventListener RebuildDirtyWidgetCallback RouteFactory RoutePageBuilder RoutePredicate RouteTransitionsBuilder ScrollNotificationPredicate SelectionChangedCallback SemanticIndexCallback SemanticsBuilderCallback ShaderCallback StatefulWidgetBuilder StateSetter TextSelectionOverlayChanged TransitionBuilder TweenConstructor TweenVisitor ValueChanged ValueGetter ValueSetter ValueWidgetBuilder ViewportBuilder VoidCallback WidgetBuilder WillPopCallback EXCEPTIONS FlutterError TickerCanceled ```