convert_case 1.0.2 copy "convert_case: ^1.0.2" to clipboard
convert_case: ^1.0.2 copied to clipboard

Easily convert case of strings

Convert Case #

Easily convert case of strings #

Installation #

Dart:

dart pub add convert_case

or add to pubspec.yaml:

dependencies:
  convert_case: ^1.0.2

Flutter:

flutter pub add convert_case

Usage #

import 'package:convert_case/convert_case.dart';

ConvertCase.toLowerCase(input);
ConvertCase.toUpperCase(input);
ConvertCase.toCapitalCase(input);
ConvertCase.toSentenceCase(input);
ConvertCase.toTitleCase(input);
ConvertCase.toAlternatingCase(input);
ConvertCase.inverseCase(input);