heartinz_essentials 2.0.3
heartinz_essentials: ^2.0.3 copied to clipboard
Essentials provides a set of ready-to-use tools for calculations, date and time manipulations, currency conversions, and GST (tax) computations, making it an all-in-one solution for developers
Heartinz Essentials
The Heartinz Essentials package is a robust utility library designed to handle frequently required operations in Flutter/Dart projects. Whether it’s calculating financial data, converting currencies, managing GST, or working with ISO date-time formats, this package streamlines your development process.
Features #
• Grand Total Calculation
Calculate grand totals using MRP, sale price, base price, and tax amounts. • Currency Conversion • Convert amounts to a specified currency. • Convert monetary values to subunits for detailed calculations. • GST (Tax) Calculation Accurately compute GST, including breakdowns of MRP, sale price, base price, and tax percentages. • Date and Time Utilities • Modify ISO time or convert between time zones. • Extract day boundaries in UTC or compute time differences. • Display ISO date-time in user-friendly formats. • Intuitive Modular Structure Use a clean API like Essentials.date.splitISO or Essentials.currency.toCurrency for a seamless development experience.
Getting started #
To use this package, ensure you have the latest Dart/Flutter SDK installed.
Installation
Add the package to your project by including the following in your pubspec.yaml file:
dependencies:
heartinz_essentials: ^1.0.0
Run the command to fetch the package:
flutter pub get