formattedFull property

String get formattedFull

Returns the full address with proper spacing for monospace fonts Groups the address in chunks of 4 characters for better readability

Implementation

String get formattedFull {
  // Chunk by 4 characters
  final chunks = <String>[];
  for (var i = 0; i < address.length; i += 4) {
    final end = i + 4;
    chunks.add(
      end > address.length ? address.substring(i) : address.substring(i, end),
    );
  }
  return chunks.join(' ');
}