Add Windows and Linux support to the 'layers' example (#126105)

Enables running the `layers` example on Linux and Windows.

Part of https://github.com/flutter/flutter/issues/126033
This commit is contained in:
Loïc Sharma
2023-05-05 17:45:19 -07:00
committed by GitHub
parent 43ac23b4c7
commit a47a754539
22 changed files with 1453 additions and 6 deletions

View File

@@ -0,0 +1,10 @@
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "my_application.h"
int main(int argc, char** argv) {
g_autoptr(MyApplication) app = my_application_new();
return g_application_run(G_APPLICATION(app), argc, argv);
}