StaticHeadConfig constructor

const StaticHeadConfig({
  1. required String baseUrl,
  2. List<StaticRoute> routes = const [],
  3. WebMetadata defaults = const WebMetadata(),
  4. String? siteName,
  5. String? titleTemplate,
  6. String? defaultImage,
  7. String? defaultRobots = 'index, follow',
  8. String? themeColor,
  9. String? language = 'en',
  10. bool? trailingSlash,
  11. List<StaticRoutePattern> patterns = const [],
  12. bool sitemap = true,
  13. bool robotsTxt = true,
  14. String? manifest,
  15. RenderingStrategy? renderingStrategy,
})

Implementation

const StaticHeadConfig({
  required this.baseUrl,
  this.routes = const [],
  this.defaults = const WebMetadata(),
  this.siteName,
  this.titleTemplate,
  this.defaultImage,
  this.defaultRobots = 'index, follow',
  this.themeColor,
  this.language = 'en',
  this.trailingSlash,
  this.patterns = const [],
  this.sitemap = true,
  this.robotsTxt = true,
  this.manifest,
  this.renderingStrategy,
});