mirror of
https://github.com/flutter/samples.git
synced 2026-04-04 18:51:05 +00:00
Update Samples for 3.16 (#2085)
*Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.* *List which issues are fixed by this PR. For larger changes, raising an issue first helps reduce redundant work.* ## Pre-launch Checklist - [ ] I read the [Flutter Style Guide] _recently_, and have followed its advice. - [ ] I signed the [CLA]. - [ ] I read the [Contributors Guide]. - [ ] I updated/added relevant documentation (doc comments with `///`). - [ ] All existing and new tests are passing. If you need help, consider asking for advice on the #hackers-devrel channel on [Discord]. <!-- Links --> [Flutter Style Guide]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo [CLA]: https://cla.developers.google.com/ [Discord]: https://github.com/flutter/flutter/wiki/Chat [Contributors Guide]: https://github.com/flutter/samples/blob/main/CONTRIBUTING.md
This commit is contained in:
@@ -32540,8 +32540,7 @@ class ObjCBlock7 extends _ObjCBlockBase {
|
||||
ObjCBlock7.fromFunctionPointer(
|
||||
PedometerBindings lib,
|
||||
ffi.Pointer<
|
||||
ffi
|
||||
.NativeFunction<
|
||||
ffi.NativeFunction<
|
||||
ffi.Bool Function(ffi.Pointer<ObjCObject> arg0,
|
||||
ffi.Pointer<ObjCObject> arg1)>>
|
||||
ptr)
|
||||
@@ -32817,8 +32816,7 @@ class ObjCBlock8 extends _ObjCBlockBase {
|
||||
ObjCBlock8.fromFunctionPointer(
|
||||
PedometerBindings lib,
|
||||
ffi.Pointer<
|
||||
ffi
|
||||
.NativeFunction<
|
||||
ffi.NativeFunction<
|
||||
ffi.Bool Function(ffi.Pointer<ObjCObject> arg0,
|
||||
ffi.Pointer<ObjCObject> arg1)>>
|
||||
ptr)
|
||||
@@ -33527,26 +33525,19 @@ class ObjCBlock10 extends _ObjCBlockBase {
|
||||
/// Creates a block from a C function pointer.
|
||||
ObjCBlock10.fromFunctionPointer(
|
||||
PedometerBindings lib,
|
||||
ffi.Pointer<
|
||||
ffi
|
||||
.NativeFunction<
|
||||
ffi.Bool Function(
|
||||
ffi.Pointer<ObjCObject> arg0,
|
||||
ffi.Pointer<ObjCObject> arg1,
|
||||
ffi.Pointer<ffi.Bool> arg2)>>
|
||||
ffi.Pointer<ffi.NativeFunction<ffi.Bool Function(ffi.Pointer<ObjCObject> arg0, ffi.Pointer<ObjCObject> arg1, ffi.Pointer<ffi.Bool> arg2)>>
|
||||
ptr)
|
||||
: this._(
|
||||
lib
|
||||
._newBlock1(
|
||||
_cFuncTrampoline ??= ffi.Pointer.fromFunction<
|
||||
ffi.Bool Function(
|
||||
ffi.Pointer<_ObjCBlock> block,
|
||||
ffi.Pointer<ObjCObject> arg0,
|
||||
ffi.Pointer<ObjCObject> arg1,
|
||||
ffi.Pointer<ffi.Bool> arg2)>(
|
||||
_ObjCBlock10_fnPtrTrampoline, false)
|
||||
.cast(),
|
||||
ptr.cast()),
|
||||
lib._newBlock1(
|
||||
_cFuncTrampoline ??= ffi.Pointer.fromFunction<
|
||||
ffi.Bool Function(
|
||||
ffi.Pointer<_ObjCBlock> block,
|
||||
ffi.Pointer<ObjCObject> arg0,
|
||||
ffi.Pointer<ObjCObject> arg1,
|
||||
ffi.Pointer<ffi.Bool> arg2)>(
|
||||
_ObjCBlock10_fnPtrTrampoline, false)
|
||||
.cast(),
|
||||
ptr.cast()),
|
||||
lib);
|
||||
static ffi.Pointer<ffi.Void>? _cFuncTrampoline;
|
||||
|
||||
@@ -35549,8 +35540,7 @@ class ObjCBlock17 extends _ObjCBlockBase {
|
||||
ObjCBlock17.fromFunctionPointer(
|
||||
PedometerBindings lib,
|
||||
ffi.Pointer<
|
||||
ffi
|
||||
.NativeFunction<
|
||||
ffi.NativeFunction<
|
||||
ffi.Bool Function(ffi.Pointer<ObjCObject> arg0,
|
||||
ffi.Pointer<ffi.Bool> arg1)>>
|
||||
ptr)
|
||||
@@ -36451,21 +36441,21 @@ class ObjCBlock19 extends _ObjCBlockBase {
|
||||
ObjCBlock19.fromFunctionPointer(
|
||||
PedometerBindings lib,
|
||||
ffi.Pointer<
|
||||
ffi
|
||||
.NativeFunction<
|
||||
ffi.NativeFunction<
|
||||
ffi.Bool Function(ffi.Pointer<ObjCObject> arg0,
|
||||
ffi.Pointer<ObjCObject> arg1)>>
|
||||
ptr)
|
||||
: this._(
|
||||
lib._newBlock1(
|
||||
_cFuncTrampoline ??= ffi.Pointer.fromFunction<
|
||||
ffi.Bool Function(
|
||||
ffi.Pointer<_ObjCBlock> block,
|
||||
ffi.Pointer<ObjCObject> arg0,
|
||||
ffi.Pointer<ObjCObject> arg1)>(
|
||||
_ObjCBlock19_fnPtrTrampoline, false)
|
||||
.cast(),
|
||||
ptr.cast()),
|
||||
lib
|
||||
._newBlock1(
|
||||
_cFuncTrampoline ??= ffi.Pointer.fromFunction<
|
||||
ffi.Bool Function(
|
||||
ffi.Pointer<_ObjCBlock> block,
|
||||
ffi.Pointer<ObjCObject> arg0,
|
||||
ffi.Pointer<ObjCObject> arg1)>(
|
||||
_ObjCBlock19_fnPtrTrampoline, false)
|
||||
.cast(),
|
||||
ptr.cast()),
|
||||
lib);
|
||||
static ffi.Pointer<ffi.Void>? _cFuncTrampoline;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user