clearStackAndShowView<T> method

Future<T?>? clearStackAndShowView<T>(
  1. Widget view, {
  2. dynamic arguments,
  3. int? id,
})

Clears the entire back stack and shows view

Implementation

Future<T?>? clearStackAndShowView<T>(
  Widget view, {
  dynamic arguments,
  int? id,
}) {
  return G.Get.offAll<T?>(
    view,
    arguments: arguments,
    id: id,
  );
}