nz_rental_tools
New Zealand tenancy and property utilities for Dart. Provides bond calculations, rent increase validation, Healthy Homes Standards compliance helpers, and Tenancy Services reference data.
Built for NZ landlords, tenants, and property managers.
Features
- Bond calculation — Maximum bond based on weekly rent (4 weeks under the RTA 1986)
- Rent increase validation — Check the 12-month rule and 60-day notice period
- Earliest effective date — Calculate when a rent increase can take effect
- Healthy Homes Standards — List the five compliance categories
- Notice period constants — Tenant (28 days) and landlord (90 days) notice periods
Getting started
Add the package to your pubspec.yaml:
dependencies:
nz_rental_tools: ^1.0.0
Then run:
dart pub get
Usage
import 'package:nz_rental_tools/nz_rental_tools.dart';
void main() {
// Maximum bond for $650/week rent
print(maxBond(650)); // 2600.0
// Check 12-month rent increase rule
final lastIncrease = DateTime(2025, 3, 1);
final proposed = DateTime(2026, 4, 1);
print(isRentIncreaseValid(lastIncrease, proposed)); // true
// Earliest date a rent increase can take effect
final notice = DateTime(2026, 2, 14);
print(earliestRentIncreaseDate(notice)); // 2026-04-15
// Check if 60-day notice requirement is met
final effective = DateTime(2026, 5, 1);
print(hasSufficientRentIncreaseNotice(notice, effective)); // true
// Healthy Homes Standards categories
print(healthyHomesCategories());
// [Heating, Insulation, Ventilation, Moisture ingress and drainage, Draught stopping]
}
See the example/ folder for a complete working example.
Reference
Additional information
This package is maintained by UnitHub, an AI-powered property management platform based in New Zealand.
For bugs or feature requests, open an issue on GitHub.
Libraries
- nz_rental_tools
- New Zealand tenancy and property utilities including bond calculations, rent increase validation, and Healthy Homes Standards compliance.