Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit db9e07e

Browse files
committed
Add FlValue
FlValue is a lightweight object used to contain the value types that Flutter uses on platform channels.
1 parent 419afe3 commit db9e07e

File tree

6 files changed

+1795
-0
lines changed

6 files changed

+1795
-0
lines changed

ci/licenses_golden/licenses_flutter

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1182,10 +1182,13 @@ FILE: ../../../flutter/shell/platform/linux/fl_renderer.cc
11821182
FILE: ../../../flutter/shell/platform/linux/fl_renderer.h
11831183
FILE: ../../../flutter/shell/platform/linux/fl_renderer_x11.cc
11841184
FILE: ../../../flutter/shell/platform/linux/fl_renderer_x11.h
1185+
FILE: ../../../flutter/shell/platform/linux/fl_value.cc
1186+
FILE: ../../../flutter/shell/platform/linux/fl_value_test.cc
11851187
FILE: ../../../flutter/shell/platform/linux/fl_view.cc
11861188
FILE: ../../../flutter/shell/platform/linux/public/flutter_linux/fl_binary_messenger.h
11871189
FILE: ../../../flutter/shell/platform/linux/public/flutter_linux/fl_dart_project.h
11881190
FILE: ../../../flutter/shell/platform/linux/public/flutter_linux/fl_engine.h
1191+
FILE: ../../../flutter/shell/platform/linux/public/flutter_linux/fl_value.h
11891192
FILE: ../../../flutter/shell/platform/linux/public/flutter_linux/fl_view.h
11901193
FILE: ../../../flutter/shell/platform/linux/public/flutter_linux/flutter_linux.h
11911194
FILE: ../../../flutter/shell/platform/windows/angle_surface_manager.cc

shell/platform/linux/BUILD.gn

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ _public_headers = [
4747
"public/flutter_linux/fl_binary_messenger.h",
4848
"public/flutter_linux/fl_dart_project.h",
4949
"public/flutter_linux/fl_engine.h",
50+
"public/flutter_linux/fl_value.h",
5051
"public/flutter_linux/fl_view.h",
5152
"public/flutter_linux/flutter_linux.h",
5253
]
@@ -64,6 +65,7 @@ source_set("flutter_linux") {
6465
"fl_engine.cc",
6566
"fl_renderer.cc",
6667
"fl_renderer_x11.cc",
68+
"fl_value.cc",
6769
"fl_view.cc",
6870
]
6971

@@ -90,6 +92,7 @@ executable("flutter_linux_unittests") {
9092

9193
sources = [
9294
"fl_dart_project_test.cc",
95+
"fl_value_test.cc",
9396
]
9497

9598
public_configs = [ "//flutter:config" ]

0 commit comments

Comments
 (0)