Unverified Commit 79862c48 authored by Hans Muller's avatar Hans Muller Committed by GitHub

Removed accentTextTheme references from Typography API doc (#78371)

parent 4b150b13
...@@ -41,17 +41,16 @@ enum ScriptCategory { ...@@ -41,17 +41,16 @@ enum ScriptCategory {
/// The color and geometry [TextTheme]s for Material apps. /// The color and geometry [TextTheme]s for Material apps.
/// ///
/// The text themes provided by the overall [Theme], like /// The text theme provided by the overall [Theme],
/// [ThemeData.textTheme], are based on the current locale's /// [ThemeData.textTheme], is based on the current locale's
/// [MaterialLocalizations.scriptCategory] and are created /// [MaterialLocalizations.scriptCategory] and is created
/// by merging a color text theme, [black] or [white] /// by merging a color text theme - [black] for
/// and a geometry text theme, one of [englishLike], [dense], /// [Brightness.light] themes and [white] for [Brightness.dark]
/// themes - and a geometry text theme, one of [englishLike], [dense],
/// or [tall], depending on the locale. /// or [tall], depending on the locale.
/// ///
/// To lookup a localized text theme use /// To lookup the localized text theme use
/// `Theme.of(context).textTheme` or /// `Theme.of(context).textTheme`.
/// `Theme.of(context).primaryTextTheme` or
/// `Theme.of(context).accentTextTheme`.
/// ///
/// The color text themes are [blackMountainView], [whiteMountainView], /// The color text themes are [blackMountainView], [whiteMountainView],
/// [blackCupertino], and [whiteCupertino]. The Mountain View theme [TextStyle]s /// [blackCupertino], and [whiteCupertino]. The Mountain View theme [TextStyle]s
...@@ -77,9 +76,6 @@ enum ScriptCategory { ...@@ -77,9 +76,6 @@ enum ScriptCategory {
/// ///
/// See also: /// See also:
/// ///
/// * [ThemeData.typography], which can be used to configure the
/// text themes used to create [ThemeData.textTheme],
/// [ThemeData.primaryTextTheme], [ThemeData.accentTextTheme].
/// * <https://material.io/design/typography/> /// * <https://material.io/design/typography/>
@immutable @immutable
class Typography with Diagnosticable { class Typography with Diagnosticable {
......
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