fix doc-comment snippets (#25579)
This commit is contained in:
committed by
GitHub
parent
e54e53c13b
commit
868ff42821
@@ -59,18 +59,18 @@ class RowColumnTraversal extends StatelessWidget {
|
||||
/// This function expresses the sort keys as a hierarchy, but it could just as
|
||||
/// easily have been a flat list:
|
||||
///
|
||||
/// ```
|
||||
/// Widget build(BuildContext context) {
|
||||
/// return new Semantics(
|
||||
/// sortOrder: new SemanticsSortOrder(
|
||||
/// keys: <SemanticsSortKey>[
|
||||
/// new OrdinalSortKey(columnOrder.toDouble()),
|
||||
/// new OrdinalSortKey(rowOrder.toDouble())
|
||||
/// ],
|
||||
/// ),
|
||||
/// child: child,
|
||||
/// );
|
||||
/// }
|
||||
/// ```dart
|
||||
/// Widget build(BuildContext context) {
|
||||
/// return new Semantics(
|
||||
/// sortOrder: new SemanticsSortOrder(
|
||||
/// keys: <SemanticsSortKey>[
|
||||
/// new OrdinalSortKey(columnOrder.toDouble()),
|
||||
/// new OrdinalSortKey(rowOrder.toDouble())
|
||||
/// ],
|
||||
/// ),
|
||||
/// child: child,
|
||||
/// );
|
||||
/// }
|
||||
/// ```
|
||||
///
|
||||
/// The resulting order is the same.
|
||||
|
||||
Reference in New Issue
Block a user