string_normalizer 0.0.1+1 string_normalizer: ^0.0.1+1 copied to clipboard
Helps you to remove accents and diacritics from strings, it supports both static method and extension.
import 'package:string_normalizer/string_normalizer.dart';
void main(List<String> args) {
final text = 'Đây là chữ có dấu';
final normalized = StringNormalizer.normalize(text);
print(normalized);
print(text.normalize());
}