diacritic 0.1.0

  • README.md
  • Example
  • Installing
  • Versions
  • 93

Dart diacritic library #

Removes common accents and diacritical signs from a string by replacing them with an equivalent character.

Usage #

A simple usage example:

import 'package:diacritic/diacritic.dart';

main() {
  // prints 'arvizturo tukorfurogep'
  print(removeDiacritics('árvíztűrő tükörfúrógép'));

0.1.0 #

  • Dart 2

0.0.2 #

  • Updated for Dart 2


import 'package:diacritic/diacritic.dart';

void main() {
  // prints 'arvizturo tukorfurogep'
  print(removeDiacritics('árvíztűrő tükörfúrógép'));

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  diacritic: ^0.1.0

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter packages get

Alternatively, your editor might support pub get or flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:diacritic/diacritic.dart';
Version Uploaded Documentation Archive
0.1.0 Aug 12, 2018 Go to the documentation of diacritic 0.1.0 Download diacritic 0.1.0 archive
0.0.2 Apr 15, 2018 Go to the documentation of diacritic 0.0.2 Download diacritic 0.0.2 archive
0.0.1 Nov 12, 2016 Go to the documentation of diacritic 0.0.1 Download diacritic 0.0.1 archive
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Feb 14, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.1.0
  • pana: 0.12.13


Detected platforms: Flutter, web, other

No platform restriction found in primary library package:diacritic/diacritic.dart.

Health suggestions

Format lib/src/replacement_map.dart.

Run dartfmt to format lib/src/replacement_map.dart.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
Dev dependencies
test ^1.3.0