remove_diacritic
0.9.0, released 4 years ago by an unverified publisher
Package to replace diacritics and accents with equivalent characters.
WASM-ready
What it does
Removes accents and diacritics signs from a string by replacing them with an equivalent character using a simple function call.
AI-written summary of version 0.9.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to strip accents and diacritics from text strings
- You are building search or filtering logic that needs to be accent-insensitive
Skip it when
- You need complex internationalization or localization frameworks
Strengths
- Simple and straightforward usage with a single main function
- Supports a wide range of accented characters across multiple languages
Weaknesses
- Limited scope restricted only to removing diacritics
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
import 'package:remove_diacritic/remove_diacritic.dart';
main() {
print(removeDiacritics('àáâãåǻāăąǎαάảạầấẫẩậằắẵẳặа'));
}Alternatives
Packages that do the same job and could replace remove_diacritic.
- diacritic
Removes common accents and diacritical signs from strings.
50Compare - string_normalizer
Removes accents and diacritics from strings with extension methods.
52Compare - sanitize_filename
Sanitizes strings by removing or replacing characters illegal for filenames.
30Compare