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

outdated

Plugin to format and convert measure units

flutter_measure_formatter #

Simple implementation of units conversion and formatting using native classes. On Android using MeasureFormat On iOS using Measurementformatter

Usage #

To use this plugin, add flutter_measure_formatter as a dependency in your pubspec.yaml file.

Getting Started #

Plugin is supported from iOS10+ and Android N+

Example #

// Import package
import 'package:flutter_measure_formatter/flutter_measure_formatter.dart';

// To obtain formatted or converted unit
 _formattingResult =
          await FlutterMeasureFormatter.formatLength(FlutterMeasureFormatterUnit.METER, 5);
 _conversionResult =
          await FlutterMeasureFormatter.convertLength(FlutterMeasureFormatterUnit.METER, 5);
1
likes
0
pub points
0%
popularity

Publisher

verified publisherrdev.software

Plugin to format and convert measure units

Homepage

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_measure_formatter