isButton static method

bool isButton(
  1. Type runtimeType
)

Implementation

static bool isButton(Type runtimeType) =>
    _buttonTypes.contains(runtimeType) ||
    _cupertinoButtonTypes.contains(runtimeType) ||
    _customButtonTypes.contains(runtimeType);