fitter 1.0.0 fitter: ^1.0.0 copied to clipboard
A new Flutter package project.
fitter #
UI Responsive fitting approach according to screent width!
Getting Started #
Include codes below, and it works:
your app will automatically scale itself like rem
does in web...
import 'package:fitter/fitter.dart';
void main() {
// maybe your old code here?
// runApp(MyApp());
// and just change your code as below
InnerWidgetsFlutterBinding.ensureInitialized()
..attachRootWidget(new MyApp())
..scheduleWarmUpFrame();
}
Kown Bugs #
UIKitView
components(likewebview
orvideo
..) doesn't work as expected, and I'm not really clear about the reason now yet...- Depend on
flutter sdk
1.5+ version, error occurs on below versions, and also don't know why...
Thanks To #
Strong inspired by @genius158 and his post.