Skip to content

Commit

Permalink
Add eye dropper
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDoctorDE committed Nov 1, 2023
1 parent 4c4310e commit 7840bc6
Show file tree
Hide file tree
Showing 11 changed files with 647 additions and 63 deletions.
5 changes: 5 additions & 0 deletions api/lib/src/models/tool.dart
Original file line number Diff line number Diff line change
Expand Up @@ -176,5 +176,10 @@ sealed class Tool with _$Tool {
@Default(SurfaceTexture.pattern()) SurfaceTexture texture,
}) = TextureTool;

factory Tool.eyeDropper({
@Default('') String name,
@Default('') String displayIcon,
}) = EyeDropperTool;

factory Tool.fromJson(Map<String, dynamic> json) => _$ToolFromJson(json);
}
Loading

0 comments on commit 7840bc6

Please sign in to comment.