WebAppManifest class

Constructors

WebAppManifest({String? backgroundColor, String? description, String? dir, String? display, List<String>? displayOverrides, List<FileHandler>? fileHandlers, List<ImageResource>? icons, String? id, String? lang, LaunchHandler? launchHandler, String? name, String? orientation, bool? preferRelatedApplications, List<ProtocolHandler>? protocolHandlers, List<RelatedApplication>? relatedApplications, String? scope, List<ScopeExtension>? scopeExtensions, List<Screenshot>? screenshots, ShareTarget? shareTarget, String? shortName, List<Shortcut>? shortcuts, String? startUrl, String? themeColor})
WebAppManifest.fromJson(Map<String, dynamic> json)
factory

Properties

backgroundColor String?
final
description String?
The extra description provided by the manifest.
final
dir String?
final
display String?
final
displayOverrides List<String>?
The overrided display mode controlled by the user.
final
fileHandlers List<FileHandler>?
The handlers to open files.
final
hashCode int
The hash code for this object.
no setterinherited
icons List<ImageResource>?
final
id String?
final
lang String?
final
launchHandler LaunchHandler?
TODO(crbug.com/1231886): This field is non-standard and part of a Chrome experiment. See: https://github.com/WICG/web-app-launch/blob/main/launch_handler.md
final
name String?
final
orientation String?
final
preferRelatedApplications bool?
final
protocolHandlers List<ProtocolHandler>?
The handlers to open protocols.
final
relatedApplications List<RelatedApplication>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope String?
final
scopeExtensions List<ScopeExtension>?
Non-standard, see https://github.com/WICG/manifest-incubations/blob/gh-pages/scope_extensions-explainer.md
final
screenshots List<Screenshot>?
The screenshots used by chromium.
final
shareTarget ShareTarget?
final
shortcuts List<Shortcut>?
final
shortName String?
final
startUrl String?
final
themeColor String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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