Unverified Commit 07b51a0d authored by Pierre-Louis's avatar Pierre-Louis Committed by GitHub

Add missing variants and *new* indicators to `useMaterial3` docs (#119799)

* Add missing variants and *new* indicators to useMaterial3 docs

* add missing *new*
parent 1ee87990
...@@ -1229,37 +1229,37 @@ class ThemeData with Diagnosticable { ...@@ -1229,37 +1229,37 @@ class ThemeData with Diagnosticable {
/// * Typography: [Typography] (see table above) /// * Typography: [Typography] (see table above)
/// ///
/// ### Components /// ### Components
/// * Badges: [Badge] /// * Badges: [Badge] (*new*)
/// * Bottom app bar: [BottomAppBar] /// * Bottom app bar: [BottomAppBar]
/// * Bottom sheets: [BottomSheet] /// * Bottom sheets: [BottomSheet]
/// * Buttons /// * Buttons
/// - Common buttons: [ElevatedButton], [FilledButton], [OutlinedButton], [TextButton] /// - Common buttons: [ElevatedButton], [FilledButton] (*new*), FilledButton.tonal] (*new*), [OutlinedButton], [TextButton]
/// - FAB: [FloatingActionButton], [FloatingActionButton.extended] /// - FAB: [FloatingActionButton], [FloatingActionButton.extended]
/// - Icon buttons: [IconButton] /// - Icon buttons: [IconButton]
/// - Segmented buttons: [SegmentedButton] /// - Segmented buttons: [SegmentedButton] (*new*, replacing [ToggleButtons])
/// * Cards: [Card] /// * Cards: [Card]
/// * Checkbox: [Checkbox] /// * Checkbox: [Checkbox], [CheckboxListTile]
/// * Chips: /// * Chips:
/// - [ActionChip] (used for Assist and Suggestion chips), /// - [ActionChip] (used for Assist and Suggestion chips),
/// - [FilterChip], [ChoiceChip] (used for single selection filter chips), /// - [FilterChip], [ChoiceChip] (used for single selection filter chips),
/// - [InputChip] /// - [InputChip]
/// * Date pickers: [showDatePicker], [showDateRangePicker], [DatePickerDialog], [DateRangePickerDialog], [InputDatePickerFormField] /// * Date pickers: [showDatePicker], [showDateRangePicker], [DatePickerDialog], [DateRangePickerDialog], [InputDatePickerFormField]
/// * Dialogs: [Dialog], [AlertDialog] /// * Dialogs: [AlertDialog], [Dialog.fullscreen] (*new*)
/// * Divider: [Divider] /// * Divider: [Divider], [VerticalDivider]
/// * Lists: [ListTile] /// * Lists: [ListTile]
/// * Menus: [MenuBar], [DropdownMenu] /// * Menus: [MenuAnchor] (*new*), [DropdownMenu] (*new*), [MenuBar] (*new*)
/// * Navigation bar: [NavigationBar] (new, replacing [BottomNavigationBar]) /// * Navigation bar: [NavigationBar] (*new*, replacing [BottomNavigationBar])
/// * Navigation drawer: [NavigationDrawer] /// * Navigation drawer: [NavigationDrawer] (*new*, replacing [Drawer])
/// * Navigation rail: [NavigationRail] /// * Navigation rail: [NavigationRail]
/// * Progress indicators: [CircularProgressIndicator], [LinearProgressIndicator] /// * Progress indicators: [CircularProgressIndicator], [LinearProgressIndicator]
/// * Radio button: [Radio] /// * Radio button: [Radio], [RadioListTile]
/// * Snack bar: [SnackBar] /// * Snack bar: [SnackBar]
/// * Slider: [Slider] /// * Slider: [Slider], [RangeSlider]
/// * Switch: [Switch] /// * Switch: [Switch], [SwitchListTile]
/// * Tabs: [TabBar] /// * Tabs: [TabBar]
/// * TextFields: [TextField] together with its [InputDecoration] /// * TextFields: [TextField] together with its [InputDecoration]
/// * Time pickers: [showTimePicker], [TimePickerDialog] /// * Time pickers: [showTimePicker], [TimePickerDialog]
/// * Top app bar: [AppBar] /// * Top app bar: [AppBar], [SliverAppBar], [SliverAppBar.medium] (*new*), [SliverAppBar.large] (*new*)
/// ///
/// In addition, this flag enables features introduced in Android 12. /// In addition, this flag enables features introduced in Android 12.
/// * Stretch overscroll: [MaterialScrollBehavior] /// * Stretch overscroll: [MaterialScrollBehavior]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment