import 'package:flutter/material.dart';


class BalanceHeader extends StatelessWidget {
  final String walletName;
  final String walletId;

  const BalanceHeader({
    super.key,
    required this.walletName,
    required this.walletId,
  });

  static const double _spacing = 8.0;

  @override
  Widget build(BuildContext context) {
    final textTheme = Theme.of(context).textTheme;
    final colorScheme = Theme.of(context).colorScheme;

    return Row(
      children: [
        Text(
          walletName,
          style: textTheme.titleMedium?.copyWith(
            color: colorScheme.onSurface,
          ),
        ),
        const SizedBox(width: _spacing),
        Text(
          walletId,
          style: textTheme.bodySmall?.copyWith(
            color: colorScheme.onSurface,
          ),
        ),
      ],
    );
  }
}
