render method
Creates an HTML Element represention of Component.
Implementation
@override
HTMLInputElement render() {
final input = super.render() as HTMLInputElement;
input.checked = value;
input.onChange.listen((event) {
onChanged?.call(input.checked);
});
return input;
}