fill method
Clear and fill in the content list
- extend this class and
override
to change
Implementation
void fill(BuildContext context) {
content.clear();
if (content.isEmpty) {
content
..lazyAdd(logo)
..lazyAdd(lazy.textField(context, text: author))
..lazyAdd(lazy.textField(context, text: version))
..lazyAdd(lazy.textField(context, text: copyright))
..lazyAdd(lazy.urlButton(context, text: help, url: helpUrl))
..lazyAdd(lazy.urlButton(context, text: license, url: licenseUrl))
..lazyAdd(lazy.urlButton(context, text: repo, url: repoUrl))
..lazyAdd(lazy.urlButton(context,
text: 'Privacy Policy', url: privacyPolicyUrl))
..lazyAdd(lazy.urlButton(context, text: homepage, url: homepageUrl))
..lazyAdd(lazy.urlButton(context, text: blog, url: blogUrl));
}
}