Last updated:
0 purchases
m7utils
m7utils #
A Simple Dart Package that helps to fast development
1- gives screen width using extension
2- gives screen height using extension
3- gives app theme using extension
4- gives app text theme using extension
5- helps with translation
6- gives default AppLocalization class
copied to clipboard
Whats will you get in the end #
import 'package:m7utils/m7utils.dart';
main(){
// the width
context.width;
// the height
context.height;
// the app them
context.theme;
// the app text them
context.textTheme;
// to return to the prevouis page in the stack
context.pop();
context.popWithResult("dynamic");
// if you are using assets/lang/localeCode.json
context.translate('key');
// for navigation
context.navigateTo(Scaffold(),clearStack:false);
context.navigateToByTag('/loginPage',clearStack:true);
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.