1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "flutter/lib/ui/painting/shader.h"
6
7#include "flutter/lib/ui/ui_dart_state.h"
8
9namespace flutter {
10
11IMPLEMENT_WRAPPERTYPEINFO(ui, Shader);
12
13Shader::Shader(flutter::SkiaGPUObject<SkShader> shader)
14 : shader_(std::move(shader)) {}
15
16Shader::~Shader() = default;
17
18} // namespace flutter
19