Replace deprecated MaterialStateProperty with WidgetStateProperty in admin_scaffold

This commit is contained in:
Patrick Britton 2026-02-10 16:20:08 -06:00
parent 6867c95ca6
commit 8365d0c079

View file

@ -90,7 +90,7 @@ class AdminScaffold extends StatelessWidget {
dataTextStyle: const TextStyle( dataTextStyle: const TextStyle(
color: Color(0xFFCBD5F5), color: Color(0xFFCBD5F5),
), ),
headingRowColor: MaterialStateProperty.all(panel), headingRowColor: WidgetStateProperty.all(panel),
dividerThickness: 1, dividerThickness: 1,
), ),
); );