Previews class
Previews is the class in charge of actually generating the HTML previews.
Constructors
- Previews()
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
generateDevicePreviews(
{required String filePath, required List< String> previewDevicePaths}) → void -
This method is what generates the HTML report with the given
rootFolderName
. It should only be called after all the screnshots have been taken, so the reporter can inspect the givenrootFolderName
and generate the proper HTML code. That's why, calling this method fromPreviews.generateDevicePreviews
is ideal. ThegroupName
is necessary to generate the ZIP files included in the HTML report.
Constants
- beginningOfDevicePreviews → const String
- Beginning of the generated HTML report. It includes the declaration of the plus the
- endingOfDevicePreviews → const String
- Ending of the generated HTML report. It includes the