flutter/examples/api/lib/widgets/page_view
Nate Wilson 6b1bc456f4
Arrow syntax for getters (#156483)
This egotistical PR aims to draw attention to a [style guideline](https://github.com/flutter/flutter/blob/master/docs/contributing/Style-guide-for-Flutter-repo.md#use--for-getters-and-callbacks-that-just-return-literals-or-switch-expressions) that I changed:

> #### Use `=>` for getters and callbacks that just return literals or switch expressions

<br>

There was an opportunity for valuable discussion in #154753 about how this structure affects readability, but I shut it down pretty quick since there was a lot of other stuff going on there.

Interested to hear thoughts from @Piinks and others.
2024-10-17 19:25:14 +00:00
..
page_view.0.dart Arrow syntax for getters (#156483) 2024-10-17 19:25:14 +00:00
page_view.1.dart Add findChildIndexCallback examples (#133469) 2023-10-18 00:26:17 +00:00