Snapshot class

Implemented types

Constructors

Snapshot({Color? canvasColor = Colors.white, Color? checkeredColor = Colors.black12, double? checkeredRectSize, bool useMaterial = true, String? snapshotDir, String? subDir, @Deprecated('''Write a snapshot_dir in playbook_snapshot in pubspec.yaml or use snapshotDir instead.''') String? directoryPath, required List<SnapshotDevice> devices, @Deprecated('''Write a sub_dir in playbook_snapshot in pubspec.yaml or use subDir instead.''') String? subdirectoryPath})
const

Properties

canvasColor Color?
final
checkeredColor Color?
final
checkeredRectSize double?
final
devices List<SnapshotDevice>
final
directoryPath String?
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
snapshotDir String?
final
subDir String?
final
subdirectoryPath String?
final
useMaterial bool
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run(Playbook playbook, WidgetTester tester, PlaybookBuilder builder, {Future<void> setUpEachTest(WidgetTester tester)?}) Future<void>
override
toString() String
A string representation of this object.
inherited

Operators

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