| Flutter Linux Embedder |

Classes | Functions
fl_application.h File Reference
`#include "fl_plugin_registry.h"`
`#include "fl_view.h"`
`#include <gmodule.h>`
`#include <gtk/gtk.h>`

Go to the source code of this file.

## Classes
struct | _FlApplicationClass

## Functions
G_BEGIN_DECLS G_MODULE_EXPORT | G_DECLARE_DERIVABLE_TYPE (FlApplication, fl_application, FL, APPLICATION, GtkApplication)
FlApplication * | fl_application_new (const gchar *application_id, GApplicationFlags flags)

## Function Documentation

## ◆ fl_application_new()

FlApplication* fl_application_new | ( | const gchar * | application_id,
|  | GApplicationFlags | flags
| ) |  |

FlApplication:

#Flutter-based application with the GTK embedder.

Provides default behaviour for basic Flutter applications. fl_application_new: @application_id: (allow-none): The application ID or NULL. @flags: The application flags.

Creates a new Flutter-based application.

Returns: a new #FlApplication

Definition at line 168 of file fl_application.cc.

169 {
170 return FL_APPLICATION(g_object_new(fl_application_get_type(),
171 "application-id", application_id, "flags",
172 flags, nullptr));
173 }

Referenced by TEST().

## ◆ G_DECLARE_DERIVABLE_TYPE()

G_BEGIN_DECLS G_MODULE_EXPORT G_DECLARE_DERIVABLE_TYPE | ( | FlApplication | ,
|  | fl_application | ,
|  | FL | ,
|  | APPLICATION | ,
|  | GtkApplication |
| ) |  |