Deprecate Scrollbar isAlwaysShown -> thumbVisibility (#96957)

This commit is contained in:
Kate Lovett
2022-01-24 16:25:15 -06:00
committed by GitHub
parent 2f77111cf5
commit 03da339ffe
22 changed files with 657 additions and 74 deletions

View File

@@ -39,7 +39,7 @@ class _MyStatefulWidgetState extends State<MyStatefulWidget> {
Widget build(BuildContext context) {
return Scrollbar(
controller: _controllerOne,
isAlwaysShown: true,
thumbVisibility: true,
child: GridView.builder(
controller: _controllerOne,
itemCount: 120,