Fixed a typo in the DataRow API doc (#63094)

This commit is contained in:
Hans Muller 2020-08-06 13:54:56 -07:00 committed by GitHub
parent 033d138078
commit 050b0302a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -166,12 +166,12 @@ class DataRow {
///
/// ```dart
/// DataRow(
/// color: MaterialStateProperty.resolveWith<Color>(Set<MaterialState> states) {
/// color: MaterialStateProperty.resolveWith<Color>((Set<MaterialState> states) {
/// if (states.contains(MaterialState.selected))
/// return Theme.of(context).colorScheme.primary.withOpacity(0.08);
/// return null; // Use the default value.
/// },
///)
/// }),
/// )
/// ```
///
/// See also: