MetaSEO class abstract
Make it as interface to implement later on only Web platform
- Implementers
Constructors
- MetaSEO()
-
Check the platform if is web so get the correct code
factory
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
- 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
-
charset(
{required String charset}) → dynamic - 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
-
config(
) → dynamic -
Add web seo mata config method which remove any javascript
code with the same id
metaSEOScripts
and replace if exists with needed one before the end of the body of the html web file automatically. This method should be run before any meta seo method to run the package correctly -
description(
{required String description}) → dynamic - 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
-
facebookAppID(
{required String facebookAppID}) → dynamic -
Definition of
fb:app_id
meta tag attribute https://ogp.me https://developers.facebook.com/docs/sharing/webmasters/ Add web mata data of facebookAppID attribute -
httpEquiv(
{required String httpEquiv}) → dynamic -
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 -
keyValue(
{required String key, required String value}) → dynamic -
Definition of
key
meta tag attribute If you do not found meta key you want just use metaKey Definition ofvalue
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 -
keywords(
{required String keywords}) → dynamic - Definition of keywords meta tag attribute Separate list of keyword strings by commas Add web mata data of keywords attribute
-
nameContent(
{required String name, required String content}) → dynamic -
Definition of
name
meta tag attribute If you do not found meta name you want just use metaName Definition ofcontent
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 -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
ogDescription(
{required String ogDescription}) → dynamic -
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 -
ogImage(
{required String ogImage}) → dynamic -
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 -
ogTitle(
{required String ogTitle}) → dynamic -
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 -
propertyContent(
{required String property, required String content}) → dynamic -
Definition of
property
meta tag attribute If you do not found meta property you want just use metaProperty Definition ofcontent
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 -
robots(
{required RobotsName robotsName, required String content}) → dynamic -
Definition of
robotsName
meta tag attribute Definition ofcontent
meta tag attribute https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag Add web mata data ofrobotsName
attribute Add web mata data ofcontent
attribute -
toString(
) → String -
A string representation of this object.
inherited
-
twitterCard(
{required TwitterCard twitterCard}) → dynamic -
Definition of
twitter:card
meta tag attribute https://developer.twitter.com/en/docs/twitter-for-websites/cards/guides/getting-started Add web mata data of twitterCard attribute -
twitterDescription(
{required String twitterDescription}) → dynamic -
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 -
twitterImage(
{required String twitterImage}) → dynamic -
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 -
twitterTitle(
{required String twitterTitle}) → dynamic -
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 -
viewport(
{required String viewport}) → dynamic - 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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited