What is the difference between setting attributes externally and setting them inside the build method for a custom component?
When a custom component is created, it is wrapped in an invisible container by default. When a custom component is declared, the attributes and styles set externally are applied to this invisible container, not to the internal root component itself.