ArcaneArtsLogo constructor
Creates an ArcaneArtsLogo instance with customizable dimensions and coloring.
Initializes the widget with a default size of 32, suitable for standard UI elements. The color parameter enables quick theming without asset modifications. Supports const construction for compile-time optimization in lists or trees like SliverScreen contents.
Usage example in an Arcane layout:
Section(
child: Row(
children: [
ArcaneArtsLogo(size: 40, color: ArcaneTheme.of(context).primaryColor),
// Additional content...
],
),
)
This placement ensures the logo aligns properly within Gutter-spaced sections while respecting the theme.
Implementation
const ArcaneArtsLogo({super.key, this.size = 32, this.color});