From 4dea60c59e21cd546a4cbab7c77871c808cbbdb0 Mon Sep 17 00:00:00 2001 From: Taha Tesser Date: Tue, 25 Feb 2025 11:33:01 +0200 Subject: [PATCH] Address feedback --- .../updated-material-3-progress-indicators.md | 20 +++++++++---------- .../updated-material-3-slider.md | 8 ++++---- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/content/release/breaking-changes/updated-material-3-progress-indicators.md b/src/content/release/breaking-changes/updated-material-3-progress-indicators.md index 2bf4114a5a..cdfd480ef4 100644 --- a/src/content/release/breaking-changes/updated-material-3-progress-indicators.md +++ b/src/content/release/breaking-changes/updated-material-3-progress-indicators.md @@ -55,19 +55,19 @@ LinearProgressIndicator( ), ``` -To opt into the updated design spec for the `LinearProgressIndicator`, for the -entire app, set the `ProgressIndicatorThemeData.year2023` flag to `false` in -the `MaterialApp`: +To update your entire app to use the updated `LinearProgressIndicator` design, +set the `ProgressIndicatorThemeData.year2023` property to `false` in your +`MaterialApp`: ```dart highlightLines=2 return MaterialApp( theme: ThemeData(progressIndicatorTheme: const ProgressIndicatorThemeData(year2023: false)), - /// ... + // ... LinearProgressIndicator( year2023: false, value: 0.5, ), - /// ... + // ... ``` To opt into the updated design spec for the `CircularProgressIndicator`, @@ -80,19 +80,19 @@ CircularProgressIndicator( ), ``` -To opt into the updated design spec for the `CircularProgressIndicator`, for the -entire app, set the `ProgressIndicatorThemeData.year2023` flag to `false` in -the `MaterialApp`: +To update your entire app to use the updated `CircularProgressIndicator` design, +set the `ProgressIndicatorThemeData.year2023` property to `false` in your +`MaterialApp`: ```dart highlightLines=2 return MaterialApp( theme: ThemeData(progressIndicatorTheme: const ProgressIndicatorThemeData(year2023: false)), - /// ... + // ... CircularProgressIndicator( year2023: false, value: 0.5, ), - /// ... + // ... ``` ## Timeline diff --git a/src/content/release/breaking-changes/updated-material-3-slider.md b/src/content/release/breaking-changes/updated-material-3-slider.md index d5b6c46aac..d21571517f 100644 --- a/src/content/release/breaking-changes/updated-material-3-slider.md +++ b/src/content/release/breaking-changes/updated-material-3-slider.md @@ -50,13 +50,13 @@ Slider( ), ``` -To opt into the updated design spec for the `Slider`, for the entire app, set -the `SliderThemeData.year2023` flag to `false` in the `MaterialApp`: +To update your entire app to use the updated `Slider` design, set the +`SliderThemeData.year2023` property to `false` in your `MaterialApp`: ```dart highlightLines=2 return MaterialApp( theme: ThemeData(sliderTheme: const SliderThemeData(year2023: false)), - /// ... + // ... Slider( value: _value, onChanged: (value) { @@ -65,7 +65,7 @@ return MaterialApp( }); }, ), - /// ... + // ... ``` ## Timeline