Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

[Scope] 'select' extension method on BuildContext #29

Open
zs-dima opened this issue Aug 18, 2021 · 0 comments
Open

[Scope] 'select' extension method on BuildContext #29

zs-dima opened this issue Aug 18, 2021 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@zs-dima
Copy link
Contributor

zs-dima commented Aug 18, 2021

Could be nice to create 'select' extension method on BuildContext

Builder(builder: (context) {
  final title = context.select<Movie?, String>((movie) => movie?.title); 

  final name = context.select((Person p) => p.name);
@PlugFox PlugFox added the enhancement New feature or request label Aug 18, 2021
@PlugFox PlugFox added this to the 0.2.0 milestone Aug 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants