Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
eabdee80
Unverified
Commit
eabdee80
authored
May 20, 2019
by
Todd Volkert
Committed by
GitHub
May 20, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add widget of the week videos (#32982)
* AnimatedList * Flexible * Draggable * ValueListenableBuilder
parent
40138f54
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
0 deletions
+8
-0
animated_list.dart
packages/flutter/lib/src/widgets/animated_list.dart
+2
-0
basic.dart
packages/flutter/lib/src/widgets/basic.dart
+2
-0
drag_target.dart
packages/flutter/lib/src/widgets/drag_target.dart
+2
-0
value_listenable_builder.dart
...ges/flutter/lib/src/widgets/value_listenable_builder.dart
+2
-0
No files found.
packages/flutter/lib/src/widgets/animated_list.dart
View file @
eabdee80
...
...
@@ -44,6 +44,8 @@ class _ActiveItem implements Comparable<_ActiveItem> {
/// use the static [of] method from an item's input callback.
///
/// This widget is similar to one created by [ListView.builder].
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=ZtfItHwFlZ8}
class
AnimatedList
extends
StatefulWidget
{
/// Creates a scrolling container that animates items when they are inserted or removed.
const
AnimatedList
({
...
...
packages/flutter/lib/src/widgets/basic.dart
View file @
eabdee80
...
...
@@ -4253,6 +4253,8 @@ class Column extends Flex {
/// [Flex] must contain only [StatelessWidget]s or [StatefulWidget]s (not other
/// kinds of widgets, like [RenderObjectWidget]s).
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=CI7x0mAZiY0}
///
/// See also:
///
/// * [Expanded], which forces the child to expand to fill the available space.
...
...
packages/flutter/lib/src/widgets/drag_target.dart
View file @
eabdee80
...
...
@@ -87,6 +87,8 @@ enum DragAnchor {
/// [childWhenDragging] when one or more drags are underway. Otherwise, this
/// widget always displays [child].
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=QzA4c4QHZCY}
///
/// See also:
///
/// * [DragTarget]
...
...
packages/flutter/lib/src/widgets/value_listenable_builder.dart
View file @
eabdee80
...
...
@@ -25,6 +25,8 @@ typedef ValueWidgetBuilder<T> = Widget Function(BuildContext context, T value, W
/// listener of the [ValueListenable] and call the [builder] with updated values
/// when the value changes.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=s-ZG-jS5QHQ}
///
/// ## Performance optimizations
///
/// If your [builder] function contains a subtree that does not depend on the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment