From 7249d9ec6da0835bab2ff4822accb99727cb042c Mon Sep 17 00:00:00 2001 From: shirne Date: Wed, 3 Jan 2024 03:03:10 +0800 Subject: [PATCH] improve comment doc in tabs.dart (#140568) *Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.* *List which issues are fixed by this PR. You must list at least one issue. An issue is not required if the PR fixes something trivial like a typo.* *If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].* --- packages/flutter/lib/src/material/tabs.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter/lib/src/material/tabs.dart b/packages/flutter/lib/src/material/tabs.dart index 3d1db682e67..dfa3e662756 100644 --- a/packages/flutter/lib/src/material/tabs.dart +++ b/packages/flutter/lib/src/material/tabs.dart @@ -1025,7 +1025,7 @@ class TabBar extends StatefulWidget implements PreferredSizeWidget { /// tabs with only icon or text, this padding is vertically /// adjusted to provide uniform padding to all tabs. /// - /// If this property is null, then kTabLabelPadding is used. + /// If this property is null, then [kTabLabelPadding] is used. final EdgeInsetsGeometry? labelPadding; /// Defines the ink response focus, hover, and splash colors.