September 2019
Beginner
512 pages
12h 52m
English
The RequestFavorPage widget is also stateless right now as we care only about its layout currently:
class RequestFavorPage extends statelessWidget { final List<Friend> friends; RequestFavorPage({Key key, this.friends}) : super(key: key); @override Widget build(BuildContext context) {...} // for brevety}
As you can see, the only thing in the widget description is the friends list, which must be provided by the parent widget as this is a statelessWidget instance right now.
The build() method of the widget begins as follows: ...
Read now
Unlock full access