import 'package:flutter/material.dart'; /// Renders the palm+droplet mark, picking the light- or dark-mode variant /// based on the current theme brightness. class BrandMark extends StatelessWidget { final double size; const BrandMark({super.key, this.size = 40}); @override Widget build(BuildContext context) { final isDark = Theme.of(context).brightness == Brightness.dark; return Image.asset( isDark ? 'assets/icon_dark.png' : 'assets/icon_light.png', width: size, height: size, ); } }