ActionExecutor

Introduction

The ActionExecutor class extends the ElementExecutor class to facilitate the execution of actions on elements within a Flutter application. It provides a flexible foundation for creating custom executors by extending this class and implementing the execute method.

Class Definition

class ActionExecutor extends ElementExecutor {
  ActionExecutor(Application application) : super(application);

  @override
  Future<void> execute(material.BuildContext context, Element element) async {
    await application
        .make<ActionExecutor>(element.type)
        .execute(context, element);
  }
}

Last updated