Skip to content

Commit be40991

Browse files
authored
Update useMaterial3 api doc (#127142)
This is to update the components section for `useMaterial3` api doc.
1 parent 45808c2 commit be40991

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

packages/flutter/lib/src/material/theme_data.dart

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1148,37 +1148,39 @@ class ThemeData with Diagnosticable {
11481148
/// * Typography: [Typography] (see table above)
11491149
///
11501150
/// ### Components
1151-
/// * Badges: [Badge] (*new*)
1151+
/// \* *new* means the new widgets/methods created since the last stable release.
1152+
/// * Badges: [Badge]
11521153
/// * Bottom app bar: [BottomAppBar]
11531154
/// * Bottom sheets: [BottomSheet]
11541155
/// * Buttons
1155-
/// - Common buttons: [ElevatedButton], [FilledButton] (*new*), FilledButton.tonal] (*new*), [OutlinedButton], [TextButton]
1156+
/// - Common buttons: [ElevatedButton], [FilledButton], [FilledButton.tonal], [OutlinedButton], [TextButton]
11561157
/// - FAB: [FloatingActionButton], [FloatingActionButton.extended]
1157-
/// - Icon buttons: [IconButton]
1158-
/// - Segmented buttons: [SegmentedButton] (*new*, replacing [ToggleButtons])
1158+
/// - Icon buttons: [IconButton], [IconButton.filled] (*new*), [IconButton.filledTonal] (*new*), [IconButton.outlined] (*new*)
1159+
/// - Segmented buttons: [SegmentedButton] (replacing [ToggleButtons])
11591160
/// * Cards: [Card]
11601161
/// * Checkbox: [Checkbox], [CheckboxListTile]
11611162
/// * Chips:
11621163
/// - [ActionChip] (used for Assist and Suggestion chips),
11631164
/// - [FilterChip], [ChoiceChip] (used for single selection filter chips),
11641165
/// - [InputChip]
11651166
/// * Date pickers: [showDatePicker], [showDateRangePicker], [DatePickerDialog], [DateRangePickerDialog], [InputDatePickerFormField]
1166-
/// * Dialogs: [AlertDialog], [Dialog.fullscreen] (*new*)
1167+
/// * Dialogs: [AlertDialog], [Dialog.fullscreen]
11671168
/// * Divider: [Divider], [VerticalDivider]
11681169
/// * Lists: [ListTile]
1169-
/// * Menus: [MenuAnchor] (*new*), [DropdownMenu] (*new*), [MenuBar] (*new*)
1170-
/// * Navigation bar: [NavigationBar] (*new*, replacing [BottomNavigationBar])
1171-
/// * Navigation drawer: [NavigationDrawer] (*new*, replacing [Drawer])
1170+
/// * Menus: [MenuAnchor], [DropdownMenu], [MenuBar]
1171+
/// * Navigation bar: [NavigationBar] (replacing [BottomNavigationBar])
1172+
/// * Navigation drawer: [NavigationDrawer] (replacing [Drawer])
11721173
/// * Navigation rail: [NavigationRail]
11731174
/// * Progress indicators: [CircularProgressIndicator], [LinearProgressIndicator]
11741175
/// * Radio button: [Radio], [RadioListTile]
1176+
/// * Search: [SearchBar] (*new*), [SearchAnchor] (*new*),
11751177
/// * Snack bar: [SnackBar]
11761178
/// * Slider: [Slider], [RangeSlider]
11771179
/// * Switch: [Switch], [SwitchListTile]
1178-
/// * Tabs: [TabBar]
1180+
/// * Tabs: [TabBar], [TabBar.secondary] (*new*)
11791181
/// * TextFields: [TextField] together with its [InputDecoration]
11801182
/// * Time pickers: [showTimePicker], [TimePickerDialog]
1181-
/// * Top app bar: [AppBar], [SliverAppBar], [SliverAppBar.medium] (*new*), [SliverAppBar.large] (*new*)
1183+
/// * Top app bar: [AppBar], [SliverAppBar], [SliverAppBar.medium], [SliverAppBar.large]
11821184
///
11831185
/// In addition, this flag enables features introduced in Android 12.
11841186
/// * Stretch overscroll: [MaterialScrollBehavior]

0 commit comments

Comments
 (0)