flutter/examples/api/lib
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
..
animation Implement new AnimationStatus getters (#148570) 2024-05-20 17:43:03 +00:00
cupertino Add bottom to CupertinoNavigationBar to allow for a double-row nav bar (#155959) 2024-10-16 19:36:55 +00:00
gestures Add an example for TapAndPanGestureRecognizer (#131873) 2023-08-09 19:59:03 +00:00
material Update MenuAnchor API examples (#156404) 2024-10-08 19:15:07 +00:00
painting Factor out deprecated names in example code (#151374) 2024-07-08 19:06:54 +00:00
rendering Add tests for sliver grid delegate with fixed cross axis count examples (#153500) 2024-08-29 21:41:21 +00:00
sample_templates Rename Sample classes (#124080) 2023-04-04 20:34:29 +00:00
services Change some usage of RawKeyEvent to KeyEvent in preparation for deprecation (#136420) 2023-10-14 00:25:18 +00:00
ui/text Doc imports again (#152958) 2024-08-07 18:32:37 +00:00
widgets Arrow syntax for getters (#156483) 2024-10-17 19:25:14 +00:00