crescender_foundations 0.0.1 copy "crescender_foundations: ^0.0.1" to clipboard
crescender_foundations: ^0.0.1 copied to clipboard

Shared foundations for Crescender apps, starting with Australian-friendly formatting helpers.

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).

0
likes
160
points
145
downloads

Publisher

unverified uploader

Weekly Downloads

Shared foundations for Crescender apps, starting with Australian-friendly formatting helpers.

Homepage
Repository (GitHub)

Documentation

API reference

License

MIT (license)

More

Packages that depend on crescender_foundations