@@ -1293,43 +1293,56 @@ class ThemeData with Diagnosticable {
1293
1293
///
1294
1294
/// <style>table,td,th { border-collapse: collapse; padding: 0.45em; } td { border: 1px solid }</style>
1295
1295
///
1296
- /// | Property | Material 3 default | Material 2 default |
1297
- /// | :-------------- | :--------------------------- | :------------------------ |
1298
- /// | [typography] | [Typography.material2021] | [Typography.material2014] |
1299
- /// | [splashFactory] | [InkSparkle] * or [InkRipple] | [InkSplash] |
1296
+ /// | Property | Material 3 default | Material 2 default |
1297
+ /// | :-------------- | :----------------------------- | :----------------------------- |
1298
+ /// | [colorScheme] | M3 baseline light color scheme | M2 baseline light color scheme |
1299
+ /// | [typography] | [Typography.material2021] | [Typography.material2014] |
1300
+ /// | [splashFactory] | [InkSparkle] * or [InkRipple] | [InkSplash] |
1300
1301
///
1301
1302
/// \* if the target platform is Android and the app is not
1302
1303
/// running on the web, otherwise it will fallback to [InkRipple] .
1303
1304
///
1305
+ /// If [brightness] is [Brightness.dark] then the default color scheme will
1306
+ /// be either the M3 baseline dark color scheme or the M2 baseline dark color
1307
+ /// scheme depending on [useMaterial3] .
1308
+ ///
1304
1309
/// ## Affected widgets
1305
1310
///
1306
1311
/// This flag affects styles and components.
1307
1312
///
1308
1313
/// ### Styles
1309
- /// * Color: [ColorScheme] , [Material]
1314
+ /// * Color: [ColorScheme] , [Material] (see table above)
1310
1315
/// * Shape: (see components below)
1311
- /// * Typography: `typography` (see table above)
1316
+ /// * Typography: [Typography] (see table above)
1312
1317
///
1313
1318
/// ### Components
1319
+ /// * Badges: [Badge]
1314
1320
/// * Bottom app bar: [BottomAppBar]
1321
+ /// * Bottom sheets: [BottomSheet]
1315
1322
/// * Buttons
1316
- /// - Common buttons: [ElevatedButton], [FilledButton], [OutlinedButton], [TextButton], [IconButton]
1323
+ /// - Common buttons: [ElevatedButton], [FilledButton], [OutlinedButton], [TextButton]
1317
1324
/// - FAB: [FloatingActionButton], [FloatingActionButton.extended]
1325
+ /// - Icon buttons: [IconButton]
1318
1326
/// - Segmented buttons: [SegmentedButton]
1319
1327
/// * Cards: [Card]
1320
- /// * TextFields : [TextField] together with its [InputDecoration ]
1328
+ /// * Checkbox : [Checkbox ]
1321
1329
/// * Chips:
1322
1330
/// - [ActionChip] (used for Assist and Suggestion chips),
1323
1331
/// - [FilterChip], [ChoiceChip] (used for single selection filter chips),
1324
1332
/// - [InputChip]
1325
- /// * Checkbox: [Checkbox]
1326
1333
/// * Dialogs: [Dialog] , [AlertDialog]
1334
+ /// * Divider: [Divider]
1327
1335
/// * Lists: [ListTile]
1336
+ /// * Menus: [MenuBar] , [DropdownMenu]
1328
1337
/// * Navigation bar: [NavigationBar] (new, replacing [BottomNavigationBar] )
1329
- /// * [Navigation rail] (https://m3.material.io/components/navigation-rail): [NavigationRail]
1338
+ /// * Navigation drawer: [NavigationDrawer]
1339
+ /// * Navigation rail: [NavigationRail]
1330
1340
/// * Progress indicators: [CircularProgressIndicator] , [LinearProgressIndicator]
1331
1341
/// * Radio button: [Radio]
1342
+ /// * Slider: [Slider]
1332
1343
/// * Switch: [Switch]
1344
+ /// * Tabs: [TabBar]
1345
+ /// * TextFields: [TextField] together with its [InputDecoration]
1333
1346
/// * Top app bar: [AppBar]
1334
1347
///
1335
1348
/// In addition, this flag enables features introduced in Android 12.
0 commit comments