dispose method

  1. @override
Future<void> dispose()
override

Implementation

@override
Future<void> dispose() {
  final list = [
    _textFieldController.close(),
    super.dispose(),
  ];
  return Future.wait(list);
}