message_segment_calculator 1.0.10
message_segment_calculator: ^1.0.10 copied to clipboard
Efficiently calculate SMS segments for messages with support for GSM and UCS-2 encoding. Ideal for apps that require precise SMS length and cost management.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add message_segment_calculator
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
message_segment_calculator: ^1.0.10
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:message_segment_calculator/message_segment_calculator.dart';