pushWith<T extends Object?, P> static method

Future<T?> pushWith<T extends Object?, P>(
  1. BuildContext context,
  2. Widget child,
  3. P pylonData
)

Implementation

static Future<T?> pushWith<T extends Object?, P>(
        BuildContext context, Widget child, P pylonData) =>
    push(context, Pylon<P>(value: pylonData, builder: (context) => child));