16.2%
38.4%
2.2%
37.8%
-11.6%
37.5%
97.4%
9.3%
-11.4%
100%
14.1%
100%
100%
33%
14.2%
-48.2%
-46.7%
-11.6%
-82.9%
-84.4%
I/flutter (28464): The following RenderObject was being processed when the exception was fired: _RenderListTile#4453c relayoutBoundary=up20 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE:
I/flutter (28464): creator: _ListTile ← MediaQuery ← Padding ← SafeArea ← Semantics ← _PointerListener ← Listener ←
I/flutter (28464): _GestureSemantics ← RawGestureDetector ← GestureDetector ← _RawMouseRegion ← MouseRegion ← ⋯
I/flutter (28464): parentData: offset=Offset(0.0, 0.0) (can use size)
I/flutter (28464): constraints: BoxConstraints(unconstrained)
I/flutter (28464): size: MISSING
I/flutter (28464): This RenderObject had the following descendants (showing up to depth 5):
I/flutter (28464): title: RenderParagraph#94145 NEEDS-LAYOUT NEEDS-PAINT
I/flutter (28464): text: TextSpan
Hi all, I was able to make a flutter ffi plugin run with the generated example project on iOS, but when doing so on Android, I seem to have JDK/gradle configuration issues, such as the following in my MainActivity.kt
Check your module classpath for missing or conflicting dependencies
Error running 'libmynative': No JDK specified for module 'mynative_example_android'
Cannot access 'android.app.Activity' which is a supertype of 'com.my.app'. Check your module classpath or conflicting dependencies
I do have the following dependencies specified in my build.gradle for the Android example app
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.core:core-ktx:1.0.2'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
}
onTap: navigationTapped,
currentIndex: _page,
```void navigationTapped(int page) {
// Animating to the page.
// You can use whatever duration and curve you like
setState(() {
_pageController.animateToPage(page,
duration: const Duration(milliseconds: 50), curve: Curves.ease);
});
}
void onPageChanged(int page) {
setState(() {
this._page = page;
});
}```
w
Why is the official recommended using the Provider instead of Redux?