getTransaction static method

Page getTransaction(
  1. FlutlyTransactionType type,
  2. LocalKey key,
  3. Widget widget
)

Implementation

static Page<dynamic> getTransaction(
    FlutlyTransactionType type, LocalKey key, Widget widget) {
  if (type == FlutlyTransactionType.DEFAULT) {
    return getDefaultTransaction(key, widget);
  }

  return getFadeTransaction(key, widget);
}