[dev, bots, examples] rename local functions with _s (#102703)
This commit is contained in:
@@ -16,7 +16,7 @@ void main() {
|
||||
body: (WidgetController controller) async {
|
||||
final Finder nestedScroll = find.byKey(const ValueKey<String>('tabbar_view'));
|
||||
expect(nestedScroll, findsOneWidget);
|
||||
Future<void> _scrollOnce(double offset) async {
|
||||
Future<void> scrollOnce(double offset) async {
|
||||
await controller.timedDrag(
|
||||
nestedScroll,
|
||||
Offset(-offset, 0.0),
|
||||
@@ -25,10 +25,10 @@ void main() {
|
||||
await Future<void>.delayed(const Duration(milliseconds: 500));
|
||||
}
|
||||
for (int i = 0; i < 3; i += 1) {
|
||||
await _scrollOnce(-300.0);
|
||||
await _scrollOnce(-300.0);
|
||||
await _scrollOnce(300.0);
|
||||
await _scrollOnce(300.0);
|
||||
await scrollOnce(-300.0);
|
||||
await scrollOnce(-300.0);
|
||||
await scrollOnce(300.0);
|
||||
await scrollOnce(300.0);
|
||||
}
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user