From e685c938a371e7c825887db5c8617e0671d84dc1 Mon Sep 17 00:00:00 2001 From: Darren Austin Date: Tue, 9 Nov 2021 17:49:40 -0800 Subject: [PATCH] Replaced the reference to `primaryVariant` in code example as it will soon be deprecated. (#93351) --- .../material/reorderable_list/reorderable_list_view.1.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/api/lib/material/reorderable_list/reorderable_list_view.1.dart b/examples/api/lib/material/reorderable_list/reorderable_list_view.1.dart index 8931ab6f14..e1898b8220 100644 --- a/examples/api/lib/material/reorderable_list/reorderable_list_view.1.dart +++ b/examples/api/lib/material/reorderable_list/reorderable_list_view.1.dart @@ -39,8 +39,8 @@ class _MyStatefulWidgetState extends State { @override Widget build(BuildContext context) { final ColorScheme colorScheme = Theme.of(context).colorScheme; - final Color oddItemColor = colorScheme.primary.withOpacity(0.05); - final Color evenItemColor = colorScheme.primaryVariant.withOpacity(0.15); + final Color oddItemColor = colorScheme.secondary.withOpacity(0.05); + final Color evenItemColor = colorScheme.secondary.withOpacity(0.15); final Color draggableItemColor = colorScheme.secondary; Widget _proxyDecorator(Widget child, int index, Animation animation) {