generate method

  1. @override
Widget generate(
  1. Context context
)
override

Implementation

@override
Widget generate(Context context) {
  if (target == null) return Command('kill');
  return Command('kill $target');
}