SeoConfig class
Configuração global de SEO/GEO/AEO do site. Fonte única para baseUrl, identidade da organização e política de crawlers.
Constructors
-
SeoConfig({required String baseUrl, required String siteName, required String description, String defaultLocale = 'pt_BR', String? twitterHandle, String? logoUrl, String? defaultImage, String? organizationName, List<
String> sameAs = const [], String? searchUrlTemplate, String? themeColor, String? telephone, String? email, SeoAddress? address, String? about, String? googleSiteVerification, String? bingSiteVerification, double? ratingValue, int? reviewCount, List<String> globalDisallow = const [], List<CrawlerRule> ? crawlerRules}) -
const
Properties
- about → String?
-
Markdown com informações detalhadas da empresa: história, serviços,
área de atuação, contatos, horários, diferenciais, etc.
Injetado no topo de
/llms.txte/llms-full.txtpara maximizar a extração por AI assistants (GEO/AEO).final - address → SeoAddress?
-
Endereço físico — quando preenchido, o schema muda de Organization para
LocalBusiness, habilitando rich results de endereço/geo no Google.
final
- baseUrl → String
-
URL base SEM barra final (ex.:
https://exemplo.com).final - bingSiteVerification → String?
-
final
-
crawlerRules
→ List<
CrawlerRule> -
Regras por crawler no robots.txt.
final
- defaultImage → String?
-
Imagem padrão de compartilhamento (og:image/twitter:image) usada quando a
rota não define
RouteMeta.image. Ideal ~1200x630. Cai para logoUrl.final - defaultLocale → String
-
final
- description → String
-
final
- email → String?
-
E-mail de contato público.
final
-
globalDisallow
→ List<
String> -
Caminhos bloqueados para todos os agentes.
final
- googleSiteVerification → String?
-
Verificação do Search Console — emite
<meta google-site-verification>e<meta msvalidate.01>(Bing). Só o token, sem a tag.final - hashCode → int
-
The hash code for this object.
no setterinherited
- logoUrl → String?
-
final
- organizationName → String?
-
final
- ratingValue → double?
-
Avaliação agregada da empresa → JSON-LD
AggregateRating(estrelas nos resultados / credibilidade B2B). Informe os dois juntos.final - reviewCount → int?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sameAs
→ List<
String> -
Perfis sociais/oficiais (JSON-LD
sameAs).final - searchUrlTemplate → String?
-
Template de busca p/ SearchAction (ex.:
/busca?q={search_term_string}).final - siteName → String
-
final
- telephone → String?
-
Telefone principal (ex.:
'+55 11 5108-0113').final - themeColor → String?
-
final
- twitterHandle → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
url(
String path) → String - Monta uma URL absoluta a partir de um caminho.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
defaultCrawlerRules
→ const List<
CrawlerRule> - Política padrão: permite buscadores e crawlers de IA que geram citações/tráfego; bloqueia os abusivos de baixo valor.