ExampleHomePage constructor

ExampleHomePage({
  1. Key? key,
  2. required List<ExamplePage>? pages,
  3. String repoUrl = 'https://www.github.com',
  4. String pubUrl = 'https://pub.flutter-io.cn',
  5. String appName = '',
  6. List<Widget>? appBarActions,
})

Implementation

ExampleHomePage({
  Key? key,
  required this.pages,
  String repoUrl = 'https://www.github.com',
  String pubUrl = 'https://pub.flutter-io.cn',
  this.appName = '',
  this.appBarActions,
}) : super(key: key) {
  pages?.add(AppInfoPage.createPage(appName, repoUrl, pubUrl));
}