ArcaneArtsLogo constructor

const ArcaneArtsLogo({
  1. Key? key,
  2. double size = 32,
  3. Color? color,
})

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});