We left out one important tech domain on the FilterPage. Can you guess which one? Well, Flutter of course! Your challenge is to pause the video, and add the a FilterWidget for Flutter to the FlutterPage. Follow the template already on the page and add the widget to the page. Pause the video and give it a shot.
How’d that challenge go you? If you got stuck, feel free to follow along with me. To get started, open your project in progress or download the sample project for this episode. Open the filter_page.dart page.
Scroll down to the build method and add the following.
FilterWidget(
value: Constants.flutterFilter,
groupValue: _filterValue,
onChanged: _handleRadioValueChange,
text: Strings.flutter,
),
And that’s it! Build and run your project or hot reload. Head on over to the FilterPage. And look at that, you now have a Flutter option.