mirror of
https://github.com/flutter/samples.git
synced 2026-03-31 08:44:26 +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:
@@ -5869,9 +5869,8 @@ class Intent extends jni.JObject {
|
||||
}
|
||||
|
||||
static final _new1 = jniLookup<
|
||||
ffi
|
||||
.NativeFunction<jni.JniResult Function(ffi.Pointer<ffi.Void>)>>(
|
||||
"Intent__new1")
|
||||
ffi.NativeFunction<
|
||||
jni.JniResult Function(ffi.Pointer<ffi.Void>)>>("Intent__new1")
|
||||
.asFunction<jni.JniResult Function(ffi.Pointer<ffi.Void>)>();
|
||||
|
||||
/// from: public void <init>(android.content.Intent intent)
|
||||
@@ -5883,9 +5882,8 @@ class Intent extends jni.JObject {
|
||||
}
|
||||
|
||||
static final _new2 = jniLookup<
|
||||
ffi
|
||||
.NativeFunction<jni.JniResult Function(ffi.Pointer<ffi.Void>)>>(
|
||||
"Intent__new2")
|
||||
ffi.NativeFunction<
|
||||
jni.JniResult Function(ffi.Pointer<ffi.Void>)>>("Intent__new2")
|
||||
.asFunction<jni.JniResult Function(ffi.Pointer<ffi.Void>)>();
|
||||
|
||||
/// from: public void <init>(java.lang.String string)
|
||||
@@ -5995,9 +5993,8 @@ class Intent extends jni.JObject {
|
||||
}
|
||||
|
||||
static final _clone = jniLookup<
|
||||
ffi
|
||||
.NativeFunction<jni.JniResult Function(ffi.Pointer<ffi.Void>)>>(
|
||||
"Intent__clone")
|
||||
ffi.NativeFunction<
|
||||
jni.JniResult Function(ffi.Pointer<ffi.Void>)>>("Intent__clone")
|
||||
.asFunction<jni.JniResult Function(ffi.Pointer<ffi.Void>)>();
|
||||
|
||||
/// from: public java.lang.Object clone()
|
||||
@@ -6122,9 +6119,8 @@ class Intent extends jni.JObject {
|
||||
}
|
||||
|
||||
static final _getData = jniLookup<
|
||||
ffi
|
||||
.NativeFunction<jni.JniResult Function(ffi.Pointer<ffi.Void>)>>(
|
||||
"Intent__getData")
|
||||
ffi.NativeFunction<
|
||||
jni.JniResult Function(ffi.Pointer<ffi.Void>)>>("Intent__getData")
|
||||
.asFunction<jni.JniResult Function(ffi.Pointer<ffi.Void>)>();
|
||||
|
||||
/// from: public android.net.Uri getData()
|
||||
@@ -6158,9 +6154,8 @@ class Intent extends jni.JObject {
|
||||
}
|
||||
|
||||
static final _getType = jniLookup<
|
||||
ffi
|
||||
.NativeFunction<jni.JniResult Function(ffi.Pointer<ffi.Void>)>>(
|
||||
"Intent__getType")
|
||||
ffi.NativeFunction<
|
||||
jni.JniResult Function(ffi.Pointer<ffi.Void>)>>("Intent__getType")
|
||||
.asFunction<jni.JniResult Function(ffi.Pointer<ffi.Void>)>();
|
||||
|
||||
/// from: public java.lang.String getType()
|
||||
@@ -8020,9 +8015,8 @@ class Intent extends jni.JObject {
|
||||
}
|
||||
|
||||
static final _toURI = jniLookup<
|
||||
ffi
|
||||
.NativeFunction<jni.JniResult Function(ffi.Pointer<ffi.Void>)>>(
|
||||
"Intent__toURI")
|
||||
ffi.NativeFunction<
|
||||
jni.JniResult Function(ffi.Pointer<ffi.Void>)>>("Intent__toURI")
|
||||
.asFunction<jni.JniResult Function(ffi.Pointer<ffi.Void>)>();
|
||||
|
||||
/// from: public java.lang.String toURI()
|
||||
@@ -12399,9 +12393,8 @@ class Instant extends jni.JObject {
|
||||
}
|
||||
|
||||
static final _now1 = jniLookup<
|
||||
ffi
|
||||
.NativeFunction<jni.JniResult Function(ffi.Pointer<ffi.Void>)>>(
|
||||
"Instant__now1")
|
||||
ffi.NativeFunction<
|
||||
jni.JniResult Function(ffi.Pointer<ffi.Void>)>>("Instant__now1")
|
||||
.asFunction<jni.JniResult Function(ffi.Pointer<ffi.Void>)>();
|
||||
|
||||
/// from: static public java.time.Instant now(java.time.Clock clock)
|
||||
@@ -12453,9 +12446,8 @@ class Instant extends jni.JObject {
|
||||
}
|
||||
|
||||
static final _from = jniLookup<
|
||||
ffi
|
||||
.NativeFunction<jni.JniResult Function(ffi.Pointer<ffi.Void>)>>(
|
||||
"Instant__from")
|
||||
ffi.NativeFunction<
|
||||
jni.JniResult Function(ffi.Pointer<ffi.Void>)>>("Instant__from")
|
||||
.asFunction<jni.JniResult Function(ffi.Pointer<ffi.Void>)>();
|
||||
|
||||
/// from: static public java.time.Instant from(java.time.temporal.TemporalAccessor temporalAccessor)
|
||||
@@ -12468,9 +12460,8 @@ class Instant extends jni.JObject {
|
||||
}
|
||||
|
||||
static final _parse = jniLookup<
|
||||
ffi
|
||||
.NativeFunction<jni.JniResult Function(ffi.Pointer<ffi.Void>)>>(
|
||||
"Instant__parse")
|
||||
ffi.NativeFunction<
|
||||
jni.JniResult Function(ffi.Pointer<ffi.Void>)>>("Instant__parse")
|
||||
.asFunction<jni.JniResult Function(ffi.Pointer<ffi.Void>)>();
|
||||
|
||||
/// from: static public java.time.Instant parse(java.lang.CharSequence charSequence)
|
||||
|
||||
@@ -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