Skip to content

Commit 07b51a0

Browse files
authored
Add missing variants and *new* indicators to useMaterial3 docs (#119799)
* Add missing variants and *new* indicators to useMaterial3 docs * add missing *new*
1 parent 1ee8799 commit 07b51a0

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

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

+13-13
Original file line numberDiff line numberDiff line change
@@ -1229,37 +1229,37 @@ class ThemeData with Diagnosticable {
12291229
/// * Typography: [Typography] (see table above)
12301230
///
12311231
/// ### Components
1232-
/// * Badges: [Badge]
1232+
/// * Badges: [Badge] (*new*)
12331233
/// * Bottom app bar: [BottomAppBar]
12341234
/// * Bottom sheets: [BottomSheet]
12351235
/// * Buttons
1236-
/// - Common buttons: [ElevatedButton], [FilledButton], [OutlinedButton], [TextButton]
1236+
/// - Common buttons: [ElevatedButton], [FilledButton] (*new*), FilledButton.tonal] (*new*), [OutlinedButton], [TextButton]
12371237
/// - FAB: [FloatingActionButton], [FloatingActionButton.extended]
12381238
/// - Icon buttons: [IconButton]
1239-
/// - Segmented buttons: [SegmentedButton]
1239+
/// - Segmented buttons: [SegmentedButton] (*new*, replacing [ToggleButtons])
12401240
/// * Cards: [Card]
1241-
/// * Checkbox: [Checkbox]
1241+
/// * Checkbox: [Checkbox], [CheckboxListTile]
12421242
/// * Chips:
12431243
/// - [ActionChip] (used for Assist and Suggestion chips),
12441244
/// - [FilterChip], [ChoiceChip] (used for single selection filter chips),
12451245
/// - [InputChip]
12461246
/// * Date pickers: [showDatePicker], [showDateRangePicker], [DatePickerDialog], [DateRangePickerDialog], [InputDatePickerFormField]
1247-
/// * Dialogs: [Dialog], [AlertDialog]
1248-
/// * Divider: [Divider]
1247+
/// * Dialogs: [AlertDialog], [Dialog.fullscreen] (*new*)
1248+
/// * Divider: [Divider], [VerticalDivider]
12491249
/// * Lists: [ListTile]
1250-
/// * Menus: [MenuBar], [DropdownMenu]
1251-
/// * Navigation bar: [NavigationBar] (new, replacing [BottomNavigationBar])
1252-
/// * Navigation drawer: [NavigationDrawer]
1250+
/// * Menus: [MenuAnchor] (*new*), [DropdownMenu] (*new*), [MenuBar] (*new*)
1251+
/// * Navigation bar: [NavigationBar] (*new*, replacing [BottomNavigationBar])
1252+
/// * Navigation drawer: [NavigationDrawer] (*new*, replacing [Drawer])
12531253
/// * Navigation rail: [NavigationRail]
12541254
/// * Progress indicators: [CircularProgressIndicator], [LinearProgressIndicator]
1255-
/// * Radio button: [Radio]
1255+
/// * Radio button: [Radio], [RadioListTile]
12561256
/// * Snack bar: [SnackBar]
1257-
/// * Slider: [Slider]
1258-
/// * Switch: [Switch]
1257+
/// * Slider: [Slider], [RangeSlider]
1258+
/// * Switch: [Switch], [SwitchListTile]
12591259
/// * Tabs: [TabBar]
12601260
/// * TextFields: [TextField] together with its [InputDecoration]
12611261
/// * Time pickers: [showTimePicker], [TimePickerDialog]
1262-
/// * Top app bar: [AppBar]
1262+
/// * Top app bar: [AppBar], [SliverAppBar], [SliverAppBar.medium] (*new*), [SliverAppBar.large] (*new*)
12631263
///
12641264
/// In addition, this flag enables features introduced in Android 12.
12651265
/// * Stretch overscroll: [MaterialScrollBehavior]

0 commit comments

Comments
 (0)