-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
autoscale_tabbarview not working properly on release.apk #10
Comments
I tried to find where the problem arise from and i think having a gridview in AutoScaleTabBarView causes the problem. First it was not able to render correct height for the tabview but if we switch to another tab the height of AutoScaleTabBarView renderd is correct. And all this problem in release.apk not in debud mode ,for debug mode it work perfectly fine. Below is the code which depicts this problem, just add autoscale_tabbarview package in pubsec.yml file and try this code and if there is any solution to resolve, please tell. import 'package:autoscale_tabbarview/autoscale_tabbarview.dart'; void main() { const List<Map<String, String>> imageData = [ class MyApp extends StatelessWidget { // This widget is the root of your application. @OverRide class _CustomTabViewState extends State with TickerProviderStateMixin{ class CustomTabBar extends StatelessWidget { final TabController controller; @OverRide class CustomGridView extends StatelessWidget { @OverRide |
The package works as expected on the emulator and in debug mode. However, in release mode (release.apk), it exhibits unexpected behavior.
Debug mode
![](https://camo.githubusercontent.com/32c0496fbea71061b23f6acf6806a5ad9ce115db1b687abba46b5be42601e619/68747470733a2f2f666972656261736573746f726167652e676f6f676c65617069732e636f6d2f76302f622f6769746875622d38393563372e61707073706f742e636f6d2f6f2f5065747465726125324653637265656e73686f745f313639363530303637352e706e673f616c743d6d6564696126746f6b656e3d65623263326266382d613762662d343033302d613264612d636537393066623162666334265f676c3d312a6276317374752a5f67612a4d6a41334f5463794e5441314e6934784e6a6b7a4e7a51784d7a59792a5f67615f435735354846384e56542a4d5459354e6a55774e7a6b784d4334794d7934784c6a45324f5459314d4463354d5459754e5451754d433477)
Release mode
![](https://camo.githubusercontent.com/1494fa353ed902a4c5303f94ce044fbd7097c686e09d90529f353fce809b88ef/68747470733a2f2f666972656261736573746f726167652e676f6f676c65617069732e636f6d2f76302f622f6769746875622d38393563372e61707073706f742e636f6d2f6f2f5065747465726125324653637265656e73686f745f323032332d31302d30352d31372d34322d31362d3437345f636f6d2e6578616d706c652e706574746572615f70726f6a6563742e6a70673f616c743d6d6564696126746f6b656e3d61313165333835662d333530652d343436362d393333332d626638666661363364633531265f676c3d312a7876676130682a5f67612a4d6a41334f5463794e5441314e6934784e6a6b7a4e7a51784d7a59792a5f67615f435735354846384e56542a4d5459354e6a55774e7a6b784d4334794d7934784c6a45324f5459314d4467774d7a49754e5441754d433477)
The text was updated successfully, but these errors were encountered: