sanitize_filename 1.0.5 copy "sanitize_filename: ^1.0.5" to clipboard
sanitize_filename: ^1.0.5 copied to clipboard

Replaces characters in strings that are illegal/unsafe for filenames.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add sanitize_filename

With Flutter:

 $ flutter pub add sanitize_filename

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  sanitize_filename: ^1.0.5

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

Import it

Now in your Dart code, you can use:

import 'package:sanitize_filename/sanitize_filename.dart';
8
likes
160
pub points
87%
popularity

Publisher

verified publishere-go-mobile.de

Replaces characters in strings that are illegal/unsafe for filenames.

Repository (GitHub)
View/report issues

Documentation

API reference

License

LGPL-3.0 (license)

More

Packages that depend on sanitize_filename