StaticHeadConfig constructor
const
StaticHeadConfig({
- required String baseUrl,
- List<
StaticRoute> routes = const [], - WebMetadata defaults = const WebMetadata(),
- String? siteName,
- String? titleTemplate,
- String? defaultImage,
- String? defaultRobots = 'index, follow',
- String? themeColor,
- String? language = 'en',
- bool? trailingSlash,
- List<
StaticRoutePattern> patterns = const [], - bool sitemap = true,
- bool robotsTxt = true,
- String? manifest,
- 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,
});