WebMetaSEO class

Code starts here

Implemented types

Constructors

WebMetaSEO()
Definition of WebMetaSEO instance

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
seoAuthor(String author) → void
Definition of author meta tag attribute https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/The_head_metadata_in_HTML#adding_an_author_and_description Add web mata data of author attribute Example: String? author = 'Eng Mouaz M AlShahmeh'; Implement the interface
override
seoCharset(String charset) → void
Definition of charset meta tag attribute https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset Add web mata data of charset attribute Example: String? charset = 'UTF-8'; Implement the interface
override
seoDescription(String description) → void
Definition of description meta tag attribute https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/The_head_metadata_in_HTML#adding_an_author_and_description Add web mata data of description attribute Example: String? description = 'Simple SEO description mata data'; Implement the interface
override
seoHttpEquiv(String httpEquiv) → void
Definition of http-equiv meta tag attribute https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-http-equiv Add web mata data of httpEquiv attribute Example: String? httpEquiv = 'X-UA-Compatible'; Implement the interface
override
seoKeywords(String keywords) → void
Definition of keywords meta tag attribute Separate list of keyword strings by commas Add web mata data of keywords attribute Example: String? keywords = 'Flutter, Dart, Simple SEO'; Implement the interface
override
seoMetaKeyValue(String metaKey, String metaValue) → void
Definition of metaKey meta tag attribute If you do not found meta key you want just use metaKey Definition of metaValue meta tag attribute The value is used for other key-value meta not listed in attributes by metaValue Add web mata data of other meta key with value Implement the interface
override
seoMetaNameContent(String metaName, String metaNameContent) → void
Definition of metaName meta tag attribute If you do not found meta name you want just use metaName Definition of metaNameContent meta tag attribute The value is used for other named meta not listed in attributes by metaNameContent Add web mata data of other meta named with content Implement the interface
override
seoMetaPropertyContent(String metaProperty, String metaPropertyContent) → void
Definition of metaProperty meta tag attribute If you do not found meta property you want just use metaProperty Definition of metaPropertyContent meta tag attribute The value is used for other property meta not listed in attributes by metaPropertyContent Add web mata data of other meta property with content Implement the interface
override
seoOGDescription(String ogDescription) → void
Definition of og:description meta tag attribute https://ogp.me https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/The_head_metadata_in_HTML#other_types_of_metadata Add web mata data of ogDescription attribute Implement the interface
override
seoOGImage(String ogImage) → void
Definition of og:image meta tag attribute https://ogp.me https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/The_head_metadata_in_HTML#other_types_of_metadata Add web mata data of ogImage attribute Implement the interface
override
seoOGTitle(String ogTitle) → void
Definition of og:title meta tag attribute https://ogp.me https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/The_head_metadata_in_HTML#other_types_of_metadata Add web mata data of ogTitle attribute Implement the interface
override
seoRobots(String robots) → void
Definition of robots meta tag attribute https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag Add web mata data of robots attribute Example: String? robots = 'noindex, nofollow'; Implement the interface
override
seoTwitterDescription(String twitterDescription) → void
Definition of twitter:description meta tag attribute https://developer.twitter.com/en/docs/twitter-for-websites/cards/overview/markup Add web mata data of twitterDescription attribute Implement the interface
override
seoTwitterImage(String twitterImage) → void
Definition of twitter:image meta tag attribute https://developer.twitter.com/en/docs/twitter-for-websites/cards/overview/markup Add web mata data of twitterImage attribute Implement the interface
override
seoTwitterTitle(String twitterTitle) → void
Definition of twitter:title meta tag attribute https://developer.twitter.com/en/docs/twitter-for-websites/cards/overview/markup Add web mata data of twitterTitle attribute Implement the interface
override
seoViewport(String viewport) → void
Definition of viewport meta tag attribute Separate list of viewport strings by commas https://developer.mozilla.org/en-US/docs/Web/HTML/Viewport_meta_tag Add web mata data of viewport attribute Example: String? viewport = 'width=device-width, initial-scale=1'; Implement the interface
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited