Flutter widget list
This is just a small sample of the many types of widgets available in Flutter. Flutter has a large collection of pre-designed widgets that you can use to build your app, or you can create your own custom widgets.
Here is a list of some of the commonly used widgets in Flutter:
- Container: A box that can contain other widgets.
- Text: A widget for displaying short pieces of text.
- Button: A button that the user can tap to trigger an action.
- Image: A widget for displaying an image.
- Card: A material design card.
- ListView: A scrolling list of widgets.
- AppBar: A top app bar.
- BottomNavigationBar: A bottom navigation bar.
- Form: A form that can contain text fields, buttons, and other form elements.
- DropdownButton: A button that displays a drop-down list of items.
- Scaffold: A framework that provides a default app bar, body, and drawer.
- TabBar: A bar with tabs for switching between screens.
- Stepper: A widget that displays progress through a sequence of steps.
- ExpansionPanelList: A list of expandable panels.
- Slider: A widget that allows the user to select a value by sliding a thumb along a track.
- CupertinoActionSheet: An iOS-style action sheet.
- CupertinoActivityIndicator: An iOS-style activity indicator.
- CupertinoAlertDialog: An iOS-style alert dialog.
- CupertinoButton: An iOS-style button.
- CupertinoDatePicker: An iOS-style date picker.
- GridView: A scrollable grid of widgets.
- FlexibleSpaceBar: A scrollable bar that expands and collapses as the app scrolls.
- CustomScrollView: A scrollable list of widgets that are created on demand.
- RefreshIndicator: A widget that displays a refresh indicator when the app is being pulled down to refresh.
- AnimatedBuilder: A widget that rebuilds a child widget using an animation.
- Dismissible: A widget that can be dismissed by swiping in either direction.
- InkWell: A widget that adds ink splash effect when tapped.
- Hero: A widget that animates a widget from one screen to another.
- FadeTransition: A widget that fades between two child widgets.
- PositionedTransition: A widget that animates a child widget's position over a given duration.
- DataTable: A widget that displays data in a table.
- Table: A widget that arranges its children into rows and columns.
- Wrap: A widget that displays its children in a wrap layout.
- Flow: A widget that displays its children in a flow layout.
- SliverList: A scrollable list of widgets that are created on demand.
- SliverGrid: A scrollable grid of widgets that are created on demand.
- SliverAppBar: A scrollable app bar that expands and collapses as the app scrolls.
- Draggable: A widget that can be dragged to a new position.
- LongPressDraggable: A widget that can be dragged to a new position after long pressing.
- DragTarget: A widget that receives dragged data.
- Spacer: A widget that takes up space and helps to layout its children.
- AspectRatio: A widget that sizes its child to a specific aspect ratio.
- FractionallySizedBox: A widget that sizes its child to a fraction of its parent's size.
- LimitedBox: A widget that limits its size.
- Offstage: A widget that hides its child out of sight.
- OverflowBox: A widget that allows its child to overflow its parent's bounds.
- SizedBox: A box that forces its child to have a specific size.
- SizedOverflowBox: A box that is smaller than its child, but allows the child to overflow.
- Transform: A widget that applies a transformation to its child.
- FittedBox: A widget that scales and positions its child within itself and then increases its own size to fully cover its parent.
- AnimatedCrossFade: A widget that cross-fades between two children.
- AnimatedOpacity: A widget that gradually changes its opacity over a given duration.
- AnimatedSize: A widget that gradually changes its size over a given duration.
- AnimatedSwitcher: A widget that animates between two children.
- AnimatedList: A scrollable list of widgets that animates changes to the list.
- FadeInImage: A widget that displays a placeholder image while the target image is loading, then fades in the target image when it is loaded.
- LayoutBuilder: A widget that builds its child widget based on the constraints passed by its parent.
- NotificationListener: A widget that listens for notifications bubbling up the tree.
- Theme: A widget that provides a theme to its descendant widgets.
- WillPopScope: A widget that prevents the user from popping the current route off the stack.
- AbsorbPointer: A widget that absorbs pointer events.
- BackdropFilter: A widget that applies a filter to the existing painted content and then paints child.
- ClipRect: A widget that clips its child using a rectangle.
- ClipRRect: A widget that clips its child using a rounded rectangle.
- ClipPath: A widget that clips its child using a custom path.
- DecoratedBox: A widget that paints a decoration before painting its child.
- FractionallySizedBox: A widget that sizes its child to a fraction of its parent's size.
- Opacity: A widget that makes its child partially transparent.
- RotatedBox: A widget that rotates its child.
- SizedBox: A box that forces its child to have a specific size.
- Placeholder: A lightweight widget that shows a placeholder before its child is built.
- Expanded: A widget that expands to fill available space.
- Flexible: A widget that adjusts its size based on the space available in its parent widget.
- RichText: A widget that displays a paragraph of mixed-style text.
- ReorderableListView: A scrollable list of widgets that the user can reorder by dragging.
- FlipCard: A widget that flips between two children.
- CardSwiper: A widget that swipes between cards.
- PageView: A widget that displays a scrollable list of pages.
- PageTransitionSwitcher: A widget that animates between pages with a transition.
- ShaderMask: A widget that applies a shader to its child.
- ToggleButtons: A group of toggle buttons.
- DraggableScrollableSheet: A scrollable sheet that can be dragged to expand or collapse.
- LayoutBuilder: A widget that builds its child widget based on the constraints passed by its parent.
- ListTile: A single fixed-height row that typically contains some text as well as a leading or trailing widget.
- TwoLevelListView: A scrollable list of items that can expand to show more items in a sublist.
- Flow: A flow-based layout.
- Wrap: A flow-based layout where wrapping is done according to the constraints provided by the parent widget.
- CustomMultiChildLayout: A widget that defers the layout of its children to a delegate.
- NestedScrollView: A scroll view that has another scroll view nested inside it.
- InkResponse: A widget that responds to being touched, used to show feedback.
- FutureBuilder: A widget that builds its children based on the result of a Future.
- StreamBuilder: A widget that builds its children based on the result of a Stream.
- AnimatedListState: The state for an AnimatedList.
- AutomaticKeepAlive: A widget that preserves its state when it is scrolled off the screen.
- ClipOval: A widget that clips its child using an oval.
- CustomPaint: A widget that provides a canvas on which to draw during the paint phase.
- InheritedModel: A widget that merges its ancestors' inherited models.
- LayoutId: An ID for a child of a CustomMultiChildLayout.
- RichTextSpan: A span of rich text.
- SliverPersistentHeader: A sliver that has a header that stays visible while the sliver is scrolled.
0 Comments