How to filter a list in AngularDart

A common pattern when showing a list on a website is allowing the users to filter it with a search term. So, how do you do this in AngularDart?

In this code tutorial, which uses AngularDart 5.0, we will create a simple web app with a list. Above the list, in a sibling component of the list, we will show an input field and a clear button. As the user types in the input, the list is filtered accordingly. If the user taps the clear button, all the items of the list are shown again and the input field is cleared.

The code is available on github.

Continue reading “How to filter a list in AngularDart”