gsioteam / flip_widget Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Thank you for the code, it works very well, but how to anti alias the texture?
Can flipwidget works with Image.assets or Image.network?
hello, when use this package on book pages I need to use it two side at the same time can I do that ?
First, thanks for your great job @gsioteam.
Could you please consider adding support for the web platform?
It might be possible using dart:web-gl library instead of native code.
If the answer is yes, I would be glad to combine forces and create an enhanced reusable book widget.
Thank you for this great library @gsioteam .
How to achieve the same flip effect but from the opposite direction which is from bottom left to the bottom right direction (previous page flip effect).
After I added flip_widget to my project it does not build anymore and I face the error below:
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':gl_canvas:buildCMakeDebug[arm64-v8a]'.
Build command failed.
Error while executing process /home/soheil/Android/Sdk/cmake/3.18.1/bin/ninja with arguments {-C /home/soheil/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/gl_canvas-1.0.6/android/.cxx/Debug/5y31325o/arm64-v8a gl_canvas}
ninja: Entering directory/home/soheil/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/gl_canvas-1.0.6/android/.cxx/Debug/5y31325o/arm64-v8a' [1/1] Linking CXX shared library /home/soheil/Desktop/projects/bubbu/frontend/build/gl_canvas/intermediates/cxx/Debug/5y31325o/obj/arm64-v8a/libgl_canvas.so FAILED: /home/soheil/Desktop/projects/bubbu/frontend/build/gl_canvas/intermediates/cxx/Debug/5y31325o/obj/arm64-v8a/libgl_canvas.so : && /home/soheil/Android/Sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ --target=aarch64-none-linux-android21 --gcc-toolchain=/home/soheil/Android/Sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/linux-x86_64 --sysroot=/home/soheil/Android/Sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/linux-x86_64/sysroot -fPIC -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -O0 -fno-limit-debug-info -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libgcc_real.a -Wl,--exclude-libs,libatomic.a -static-libstdc++ -Wl,--build-id -Wl,--fatal-warnings -Wl,--no-undefined -Qunused-arguments -shared -Wl,-soname,libgl_canvas.so -o /home/soheil/Desktop/projects/bubbu/frontend/build/gl_canvas/intermediates/cxx/Debug/5y31325o/obj/arm64-v8a/libgl_canvas.so CMakeFiles/gl_canvas.dir/gl_canvas.cpp.o -lEGL -lGLESv2 -lGLESv1_CM -landroid -llog -latomic -lm && : CMakeFiles/gl_canvas.dir/gl_canvas.cpp.o: In function
std::_Rb_tree<long, std::pair<long const, CacheInfo*>, std::_Select1st<std::pair<long const, CacheInfo*> >, std::less, std::allocator<std::pair<long const, CacheInfo*> > >::_M_erase_aux(std::_Rb_tree_const_iterator<std::pair<long const, CacheInfo*> >)':
/snap/flutter/current/usr/include/c++/9/bits/stl_tree.h:2513: undefined reference tostd::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)' CMakeFiles/gl_canvas.dir/gl_canvas.cpp.o: In function
std::_Rb_tree_const_iterator<std::pair<long const, CacheInfo*> >::operator++(int)':
/snap/flutter/current/usr/include/c++/9/bits/stl_tree.h:374: undefined reference tostd::_Rb_tree_increment(std::_Rb_tree_node_base const*)' CMakeFiles/gl_canvas.dir/gl_canvas.cpp.o: In function
std::_Rb_tree<long, std::pair<long const, CacheInfo*>, std::_Select1st<std::pair<long const, CacheInfo*> >, std::less, std::allocator<std::pair<long const, CacheInfo*> > >::_M_insert_node(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node<std::pair<long const, CacheInfo*> >)':
/snap/flutter/current/usr/include/c++/9/bits/stl_tree.h:2366: undefined reference tostd::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)' CMakeFiles/gl_canvas.dir/gl_canvas.cpp.o: In function
std::_Rb_tree_iterator<std::pair<long const, CacheInfo> >::operator--()':
/snap/flutter/current/usr/include/c++/9/bits/stl_tree.h:302: undefined reference tostd::_Rb_tree_decrement(std::_Rb_tree_node_base*)' CMakeFiles/gl_canvas.dir/gl_canvas.cpp.o: In function
std::_Rb_tree_iterator<std::pair<long const, CacheInfo*> >::operator++()':
/snap/flutter/current/usr/include/c++/9/bits/stl_tree.h:287: undefined reference tostd::_Rb_tree_increment(std::_Rb_tree_node_base*)' clang++: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed.
I used flutter clean
but it didn't help.
flip_widget version: 0.1.11
Flutter 3.0.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision fb57da5f94 (6 months ago) • 2022-05-19 15:50:29 -0700
Engine • revision caaafc5604
Tools • Dart 2.17.1 • DevTools 2.12.2
I ran the example from here it doesn't have the flip effect like the gif in the README.
Using: Flutter 2.8.1 & 2.10.3
Version flip_widget: 0.1.6
It's ok on Android, But flipping does not work on IOS.
have any ideas to solve that.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.