mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This patch starts down the process of cleaning up the dart:ui API. In this approach, we use Dart code to specify the interface instead of IDL. The code in this patch is far from complete. It's just a sketch to see how this sort of approach might work.
9 lines
396 B
Plaintext
9 lines
396 B
Plaintext
// Copyright 2015 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
{# The warning below applies to the code generated by this template, not this file. #}
|
|
// WARNING: Do not edit - generated code.
|
|
part of dart_ui;
|
|
|
|
typedef void {{cpp_class}}({{methods[0].dart_argument_declarations | join(', ')}}); |