Head class
Constructors
-
Head({String? title, String? description, String? keywords, String? viewport = "width=device-width, initial-scale=1.0", String? author, String? charset = "utf-8", String? robots, Map<
String, String> meta = const {}, Map<String, String> links = const {}, List<String> styles = const [], List<String> scripts = const []})
Properties
-
getter/setter pair
- charset ↔ String?
-
getter/setter pair
- description ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- keywords ↔ String?
-
getter/setter pair
-
links
↔ Map<
String, String> -
getter/setter pair
-
meta
↔ Map<
String, String> -
getter/setter pair
- robots ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scripts
↔ List<
String> -
getter/setter pair
-
styles
↔ List<
String> -
getter/setter pair
- title ↔ String?
-
getter/setter pair
- viewport ↔ String?
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toHtml(
) → String -
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited