[dev, bots, examples] rename local functions with _s (#102703)

This commit is contained in:
Phil Quitslund
2022-04-28 10:44:06 -07:00
committed by GitHub
parent 6a443138cd
commit 80849adee1
8 changed files with 31 additions and 31 deletions

View File

@@ -40,7 +40,7 @@ class _ReorderableExampleState extends State<ReorderableExample> {
final Color evenItemColor = colorScheme.secondary.withOpacity(0.15);
final Color draggableItemColor = colorScheme.secondary;
Widget _proxyDecorator(Widget child, int index, Animation<double> animation) {
Widget proxyDecorator(Widget child, int index, Animation<double> animation) {
return AnimatedBuilder(
animation: animation,
builder: (BuildContext context, Widget? child) {
@@ -59,7 +59,7 @@ class _ReorderableExampleState extends State<ReorderableExample> {
return ReorderableListView(
padding: const EdgeInsets.symmetric(horizontal: 40),
proxyDecorator: _proxyDecorator,
proxyDecorator: proxyDecorator,
children: <Widget>[
for (int index = 0; index < _items.length; index += 1)
ListTile(