From 050b0302a7f92b71c4fa97d3d8528ac10f68c3be Mon Sep 17 00:00:00 2001 From: Hans Muller Date: Thu, 6 Aug 2020 13:54:56 -0700 Subject: [PATCH] Fixed a typo in the DataRow API doc (#63094) --- packages/flutter/lib/src/material/data_table.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/flutter/lib/src/material/data_table.dart b/packages/flutter/lib/src/material/data_table.dart index 1ec7726ed5..f8e0d5eb2f 100644 --- a/packages/flutter/lib/src/material/data_table.dart +++ b/packages/flutter/lib/src/material/data_table.dart @@ -166,12 +166,12 @@ class DataRow { /// /// ```dart /// DataRow( - /// color: MaterialStateProperty.resolveWith(Set states) { + /// color: MaterialStateProperty.resolveWith((Set states) { /// if (states.contains(MaterialState.selected)) /// return Theme.of(context).colorScheme.primary.withOpacity(0.08); /// return null; // Use the default value. - /// }, - ///) + /// }), + /// ) /// ``` /// /// See also: