[dev, bots, examples] rename local functions with _s (#102703)
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user