o4x / infinity_ui Goto Github PK
View Code? Open in Web Editor NEWA flutter plugin for remove status & navigation bar padding.
Home Page: https://pub.dev/packages/infinity_ui
License: MIT License
A flutter plugin for remove status & navigation bar padding.
Home Page: https://pub.dev/packages/infinity_ui
License: MIT License
You need also subsctract statusBarHeight:
private double getNavigationBarHeight() {
return DevSpace.getNavigationBarSize(activity.getBaseContext()).y / devicePixelRatio() - getStatusBarHeight();
}
After InfinityUi
enabled, the MediaQueryData.viewInsets
does not update any more, you will always got a zero padding, does this should be considered as a bug?
and unfortunately, InfinityUi.navigationBarHeight
does not update any more too, unless you call InfinityUi.disable()
and then call InfinityUi.enable()
again.
So, if InfinityUi enabled, then once keyboard appears, keyboard will cover a part of UI, if value of InfinityUi.navigationBarHeight
can keep updates, then we can rebuild widgets to fix this problem.
On Android everything works fine. But in Xcode I get the following error:
Unhandled Exception: type 'String' is not a subtype of type 'double' #0 InfinityUi.enable (package:infinity_ui/infinity_ui.dart:30:5)
Any idea?
After update to 0.2.5 navigationBarBackground doesn't work anymore.
Widget tree like this:
return SafeInfinityUi(
navigationBarBackground: Container(
color: Colors.white,
),
...
Container is not displayed at all...
Android version is 9.
Is there any way to resize the contents when the onscreen keyboard is shown?
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.