m7utils 0.0.9+6
m7utils: ^0.0.9+6 copied to clipboard

A Helper package for fast development.

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

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);
}