Fixed a typo in the DataRow API doc (#63094)
This commit is contained in:
parent
033d138078
commit
050b0302a7
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user