crescender_foundations

Shared foundations for Crescender apps.

This is intentionally small: the first release provides lightweight, dependency-free helpers that match Crescender documentation standards (e.g. Australian date formats).

Features

  • formatAuDate(DateTime)dd/mmm/yyyy (e.g. 13/Dec/2024)
  • formatAud(num) → basic AUD currency formatting with separators (e.g. $1,234.50)
  • Convenience extensions: DateTime.toAuDate() and num.toAud()

Usage

import 'package:crescender_foundations/crescender_foundations.dart';

void main() {
  final date = DateTime(2025, 12, 27);
  print(formatAuDate(date)); // 27/Dec/2025

  print(formatAud(1234.5)); // $1,234.50
  print(1234.5.toAud(symbol: 'A$')); // A$1,234.50
}

Contributing

Keep this package dependency-free unless there is a strong case (e.g. intl for full localisation).