factory property Null safety

ButtonFactory factory
final

Implementation

final ButtonFactory factory;