mirrored_repositories/Kimit-P7-G136/muslim_pro/lib/core
import 'package:flutter/material.dart';

pushTo(context, Widget newScreen) {
  Navigator.of(context).push(MaterialPageRoute(
    builder: (context) => newScreen,
  ));
}

pushToWithReplacment(context, Widget newScreen) {
  Navigator.of(context).pushReplacement(MaterialPageRoute(
    builder: (context) => newScreen,
  ));
}
