mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
Beta (#1234)
This commit is contained in:
@@ -448,6 +448,7 @@ class CalculatorApp extends ConsumerWidget {
|
||||
}
|
||||
|
||||
typedef CalculatorEngineCallback = void Function(CalculatorEngine engine);
|
||||
|
||||
enum CalcButtonType { outlined, elevated }
|
||||
|
||||
class CalcButton extends ConsumerWidget {
|
||||
|
||||
@@ -6,6 +6,9 @@ list(APPEND FLUTTER_PLUGIN_LIST
|
||||
window_size
|
||||
)
|
||||
|
||||
list(APPEND FLUTTER_FFI_PLUGIN_LIST
|
||||
)
|
||||
|
||||
set(PLUGIN_BUNDLED_LIBRARIES)
|
||||
|
||||
foreach(plugin ${FLUTTER_PLUGIN_LIST})
|
||||
@@ -14,3 +17,8 @@ foreach(plugin ${FLUTTER_PLUGIN_LIST})
|
||||
list(APPEND PLUGIN_BUNDLED_LIBRARIES $<TARGET_FILE:${plugin}_plugin>)
|
||||
list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries})
|
||||
endforeach(plugin)
|
||||
|
||||
foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST})
|
||||
add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/linux plugins/${ffi_plugin})
|
||||
list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries})
|
||||
endforeach(ffi_plugin)
|
||||
|
||||
@@ -49,7 +49,7 @@ packages:
|
||||
name: collection
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.15.0"
|
||||
version: "1.16.0"
|
||||
cupertino_icons:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
@@ -63,7 +63,7 @@ packages:
|
||||
name: fake_async
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.2.0"
|
||||
version: "1.3.0"
|
||||
fluent_ui:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
@@ -141,7 +141,7 @@ packages:
|
||||
name: material_color_utilities
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.1.3"
|
||||
version: "0.1.4"
|
||||
math_expressions:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
@@ -162,14 +162,14 @@ packages:
|
||||
name: path
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.8.0"
|
||||
version: "1.8.1"
|
||||
quiver:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: quiver
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "3.0.1+1"
|
||||
version: "3.1.0"
|
||||
recase:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -202,7 +202,7 @@ packages:
|
||||
name: source_span
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.8.1"
|
||||
version: "1.8.2"
|
||||
stack_trace:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -244,21 +244,14 @@ packages:
|
||||
name: test_api
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.4.8"
|
||||
typed_data:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: typed_data
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.3.0"
|
||||
version: "0.4.9"
|
||||
vector_math:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: vector_math
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.1.1"
|
||||
version: "2.1.2"
|
||||
window_size:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
@@ -269,5 +262,5 @@ packages:
|
||||
source: git
|
||||
version: "0.1.0"
|
||||
sdks:
|
||||
dart: ">=2.16.1 <3.0.0"
|
||||
dart: ">=2.17.0-0 <3.0.0"
|
||||
flutter: ">=2.8.0"
|
||||
|
||||
@@ -196,6 +196,7 @@ class CalculatorApp extends ConsumerWidget {
|
||||
}
|
||||
|
||||
typedef CalculatorEngineCallback = void Function(CalculatorEngine engine);
|
||||
|
||||
enum CalcButtonType { outlined, elevated }
|
||||
|
||||
class CalcButton extends ConsumerWidget {
|
||||
|
||||
@@ -196,6 +196,7 @@ class CalculatorApp extends ConsumerWidget {
|
||||
}
|
||||
|
||||
typedef CalculatorEngineCallback = void Function(CalculatorEngine engine);
|
||||
|
||||
enum CalcButtonType { outlined, elevated }
|
||||
|
||||
class CalcButton extends ConsumerWidget {
|
||||
|
||||
@@ -196,6 +196,7 @@ class CalculatorApp extends ConsumerWidget {
|
||||
}
|
||||
|
||||
typedef CalculatorEngineCallback = void Function(CalculatorEngine engine);
|
||||
|
||||
enum CalcButtonType { outlined, elevated }
|
||||
|
||||
class CalcButton extends ConsumerWidget {
|
||||
|
||||
@@ -196,6 +196,7 @@ class CalculatorApp extends ConsumerWidget {
|
||||
}
|
||||
|
||||
typedef CalculatorEngineCallback = void Function(CalculatorEngine engine);
|
||||
|
||||
enum CalcButtonType { outlined, elevated }
|
||||
|
||||
class CalcButton extends ConsumerWidget {
|
||||
|
||||
@@ -196,6 +196,7 @@ class CalculatorApp extends ConsumerWidget {
|
||||
}
|
||||
|
||||
typedef CalculatorEngineCallback = void Function(CalculatorEngine engine);
|
||||
|
||||
enum CalcButtonType { outlined, elevated }
|
||||
|
||||
class CalcButton extends ConsumerWidget {
|
||||
|
||||
@@ -197,6 +197,7 @@ class CalculatorApp extends ConsumerWidget {
|
||||
}
|
||||
|
||||
typedef CalculatorEngineCallback = void Function(CalculatorEngine engine);
|
||||
|
||||
enum CalcButtonType { outlined, elevated }
|
||||
|
||||
class CalcButton extends ConsumerWidget {
|
||||
|
||||
@@ -198,6 +198,7 @@ class CalculatorApp extends ConsumerWidget {
|
||||
}
|
||||
|
||||
typedef CalculatorEngineCallback = void Function(CalculatorEngine engine);
|
||||
|
||||
enum CalcButtonType { outlined, elevated }
|
||||
|
||||
class CalcButton extends ConsumerWidget {
|
||||
|
||||
@@ -199,6 +199,7 @@ class CalculatorApp extends ConsumerWidget {
|
||||
}
|
||||
|
||||
typedef CalculatorEngineCallback = void Function(CalculatorEngine engine);
|
||||
|
||||
enum CalcButtonType { outlined, elevated }
|
||||
|
||||
class CalcButton extends ConsumerWidget {
|
||||
|
||||
@@ -200,6 +200,7 @@ class CalculatorApp extends ConsumerWidget {
|
||||
}
|
||||
|
||||
typedef CalculatorEngineCallback = void Function(CalculatorEngine engine);
|
||||
|
||||
enum CalcButtonType { outlined, elevated }
|
||||
|
||||
class CalcButton extends ConsumerWidget {
|
||||
|
||||
@@ -202,6 +202,7 @@ class CalculatorApp extends ConsumerWidget {
|
||||
}
|
||||
|
||||
typedef CalculatorEngineCallback = void Function(CalculatorEngine engine);
|
||||
|
||||
enum CalcButtonType { outlined, elevated }
|
||||
|
||||
class CalcButton extends ConsumerWidget {
|
||||
|
||||
@@ -203,6 +203,7 @@ class CalculatorApp extends ConsumerWidget {
|
||||
}
|
||||
|
||||
typedef CalculatorEngineCallback = void Function(CalculatorEngine engine);
|
||||
|
||||
enum CalcButtonType { outlined, elevated }
|
||||
|
||||
class CalcButton extends ConsumerWidget {
|
||||
|
||||
@@ -204,6 +204,7 @@ class CalculatorApp extends ConsumerWidget {
|
||||
}
|
||||
|
||||
typedef CalculatorEngineCallback = void Function(CalculatorEngine engine);
|
||||
|
||||
enum CalcButtonType { outlined, elevated }
|
||||
|
||||
class CalcButton extends ConsumerWidget {
|
||||
|
||||
@@ -205,6 +205,7 @@ class CalculatorApp extends ConsumerWidget {
|
||||
}
|
||||
|
||||
typedef CalculatorEngineCallback = void Function(CalculatorEngine engine);
|
||||
|
||||
enum CalcButtonType { outlined, elevated }
|
||||
|
||||
class CalcButton extends ConsumerWidget {
|
||||
|
||||
@@ -206,6 +206,7 @@ class CalculatorApp extends ConsumerWidget {
|
||||
}
|
||||
|
||||
typedef CalculatorEngineCallback = void Function(CalculatorEngine engine);
|
||||
|
||||
enum CalcButtonType { outlined, elevated }
|
||||
|
||||
class CalcButton extends ConsumerWidget {
|
||||
|
||||
@@ -207,6 +207,7 @@ class CalculatorApp extends ConsumerWidget {
|
||||
}
|
||||
|
||||
typedef CalculatorEngineCallback = void Function(CalculatorEngine engine);
|
||||
|
||||
enum CalcButtonType { outlined, elevated }
|
||||
|
||||
class CalcButton extends ConsumerWidget {
|
||||
|
||||
@@ -215,6 +215,7 @@ class CalculatorApp extends ConsumerWidget {
|
||||
}
|
||||
|
||||
typedef CalculatorEngineCallback = void Function(CalculatorEngine engine);
|
||||
|
||||
enum CalcButtonType { outlined, elevated }
|
||||
|
||||
class CalcButton extends ConsumerWidget {
|
||||
|
||||
@@ -215,6 +215,7 @@ class CalculatorApp extends ConsumerWidget {
|
||||
}
|
||||
|
||||
typedef CalculatorEngineCallback = void Function(CalculatorEngine engine);
|
||||
|
||||
enum CalcButtonType { outlined, elevated }
|
||||
|
||||
class CalcButton extends ConsumerWidget {
|
||||
|
||||
@@ -220,6 +220,7 @@ class CalculatorApp extends ConsumerWidget {
|
||||
}
|
||||
|
||||
typedef CalculatorEngineCallback = void Function(CalculatorEngine engine);
|
||||
|
||||
enum CalcButtonType { outlined, elevated }
|
||||
|
||||
class CalcButton extends ConsumerWidget {
|
||||
|
||||
@@ -225,6 +225,7 @@ class CalculatorApp extends ConsumerWidget {
|
||||
}
|
||||
|
||||
typedef CalculatorEngineCallback = void Function(CalculatorEngine engine);
|
||||
|
||||
enum CalcButtonType { outlined, elevated }
|
||||
|
||||
class CalcButton extends ConsumerWidget {
|
||||
|
||||
@@ -230,6 +230,7 @@ class CalculatorApp extends ConsumerWidget {
|
||||
}
|
||||
|
||||
typedef CalculatorEngineCallback = void Function(CalculatorEngine engine);
|
||||
|
||||
enum CalcButtonType { outlined, elevated }
|
||||
|
||||
class CalcButton extends ConsumerWidget {
|
||||
|
||||
@@ -235,6 +235,7 @@ class CalculatorApp extends ConsumerWidget {
|
||||
}
|
||||
|
||||
typedef CalculatorEngineCallback = void Function(CalculatorEngine engine);
|
||||
|
||||
enum CalcButtonType { outlined, elevated }
|
||||
|
||||
class CalcButton extends ConsumerWidget {
|
||||
|
||||
@@ -236,6 +236,7 @@ class CalculatorApp extends ConsumerWidget {
|
||||
}
|
||||
|
||||
typedef CalculatorEngineCallback = void Function(CalculatorEngine engine);
|
||||
|
||||
enum CalcButtonType { outlined, elevated }
|
||||
|
||||
class CalcButton extends ConsumerWidget {
|
||||
|
||||
@@ -238,6 +238,7 @@ class CalculatorApp extends ConsumerWidget {
|
||||
}
|
||||
|
||||
typedef CalculatorEngineCallback = void Function(CalculatorEngine engine);
|
||||
|
||||
enum CalcButtonType { outlined, elevated }
|
||||
|
||||
class CalcButton extends ConsumerWidget {
|
||||
|
||||
@@ -246,6 +246,7 @@ class CalculatorApp extends ConsumerWidget {
|
||||
}
|
||||
|
||||
typedef CalculatorEngineCallback = void Function(CalculatorEngine engine);
|
||||
|
||||
enum CalcButtonType { outlined, elevated }
|
||||
|
||||
class CalcButton extends ConsumerWidget {
|
||||
|
||||
@@ -251,6 +251,7 @@ class CalculatorApp extends ConsumerWidget {
|
||||
}
|
||||
|
||||
typedef CalculatorEngineCallback = void Function(CalculatorEngine engine);
|
||||
|
||||
enum CalcButtonType { outlined, elevated }
|
||||
|
||||
class CalcButton extends ConsumerWidget {
|
||||
|
||||
@@ -273,6 +273,7 @@ class CalculatorApp extends ConsumerWidget {
|
||||
}
|
||||
|
||||
typedef CalculatorEngineCallback = void Function(CalculatorEngine engine);
|
||||
|
||||
enum CalcButtonType { outlined, elevated }
|
||||
|
||||
class CalcButton extends ConsumerWidget {
|
||||
|
||||
@@ -273,6 +273,7 @@ class CalculatorApp extends ConsumerWidget {
|
||||
}
|
||||
|
||||
typedef CalculatorEngineCallback = void Function(CalculatorEngine engine);
|
||||
|
||||
enum CalcButtonType { outlined, elevated }
|
||||
|
||||
class CalcButton extends ConsumerWidget {
|
||||
|
||||
@@ -283,6 +283,7 @@ class CalculatorApp extends ConsumerWidget {
|
||||
}
|
||||
|
||||
typedef CalculatorEngineCallback = void Function(CalculatorEngine engine);
|
||||
|
||||
enum CalcButtonType { outlined, elevated }
|
||||
|
||||
class CalcButton extends ConsumerWidget {
|
||||
|
||||
@@ -6,6 +6,9 @@ list(APPEND FLUTTER_PLUGIN_LIST
|
||||
window_size
|
||||
)
|
||||
|
||||
list(APPEND FLUTTER_FFI_PLUGIN_LIST
|
||||
)
|
||||
|
||||
set(PLUGIN_BUNDLED_LIBRARIES)
|
||||
|
||||
foreach(plugin ${FLUTTER_PLUGIN_LIST})
|
||||
@@ -14,3 +17,8 @@ foreach(plugin ${FLUTTER_PLUGIN_LIST})
|
||||
list(APPEND PLUGIN_BUNDLED_LIBRARIES $<TARGET_FILE:${plugin}_plugin>)
|
||||
list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries})
|
||||
endforeach(plugin)
|
||||
|
||||
foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST})
|
||||
add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/windows plugins/${ffi_plugin})
|
||||
list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries})
|
||||
endforeach(ffi_plugin)
|
||||
|
||||
Reference in New Issue
Block a user