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
14c2153b
Unverified
Commit
14c2153b
authored
Jul 20, 2023
by
Ian Hickson
Committed by
GitHub
Jul 20, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Trivial grammar and wrapping fix for docs (#130955)
parent
93f7dc32
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
13 deletions
+12
-13
collections.dart
packages/flutter/lib/src/foundation/collections.dart
+12
-13
No files found.
packages/flutter/lib/src/foundation/collections.dart
View file @
14c2153b
...
...
@@ -10,10 +10,10 @@
/// the same length, and contain the same members. Returns false otherwise.
/// Order is not compared.
///
/// If the elements are maps, lists, sets, or other collections/composite
objects,
///
then the contents of those elements are not compared element by element unless their
/// e
quality operators ([Object.==]) do so.
///
For checking deep equality, consider using
[DeepCollectionEquality] class.
/// If the elements are maps, lists, sets, or other collections/composite
///
objects, then the contents of those elements are not compared element by
/// e
lement unless their equality operators ([Object.==]) do so. For checking
///
deep equality, consider using the
[DeepCollectionEquality] class.
///
/// See also:
///
...
...
@@ -43,10 +43,10 @@ bool setEquals<T>(Set<T>? a, Set<T>? b) {
/// the same length, and contain the same members in the same order. Returns
/// false otherwise.
///
/// If the elements are maps, lists, sets, or other collections/composite
objects,
///
then the contents of those elements are not compared element by element unless their
/// e
quality operators ([Object.==]) do so.
///
For checking deep equality, consider using
[DeepCollectionEquality] class.
/// If the elements are maps, lists, sets, or other collections/composite
///
objects, then the contents of those elements are not compared element by
/// e
lement unless their equality operators ([Object.==]) do so. For checking
///
deep equality, consider using the
[DeepCollectionEquality] class.
///
/// See also:
///
...
...
@@ -76,10 +76,10 @@ bool listEquals<T>(List<T>? a, List<T>? b) {
/// the same length, and contain the same keys associated with the same values.
/// Returns false otherwise.
///
/// If the elements are maps, lists, sets, or other collections/composite
objects,
///
then the contents of those elements are not compared element by element unless their
/// e
quality operators ([Object.==]) do so.
///
For checking deep equality, consider using
[DeepCollectionEquality] class.
/// If the elements are maps, lists, sets, or other collections/composite
///
objects, then the contents of those elements are not compared element by
/// e
lement unless their equality operators ([Object.==]) do so. For checking
///
deep equality, consider using the
[DeepCollectionEquality] class.
///
/// See also:
///
...
...
@@ -103,7 +103,6 @@ bool mapEquals<T, U>(Map<T, U>? a, Map<T, U>? b) {
return
true
;
}
/// Returns the position of `value` in the `sortedList`, if it exists.
///
/// Returns `-1` if the `value` is not in the list. Requires the list items
...
...
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