v4.1.0
recase
입력 텍스트의 대소문자를 원하는 대소문자 규칙으로 변경합니다.
370좋아요 272만30일 다운로드150Pub 점수
AndroidiOSWebmacOSWindowsLinux
techniboogie-dart/recase open-source repository details.
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
Changes the case of the input text to the desire case convention.
import 'package:recase/recase.dart';
void main() {
ReCase rc = new ReCase('Just_someSample-text');
print(rc.camelCase); // Prints 'justSomeSampleText'
print(rc.constantCase); // Prints 'JUST_SOME_SAMPLE_TEXT'
}
String extensions are also available.
import 'package:recase/recase.dart';
void main() {
String sample = 'Just_someSample-text';
print(sample.camelCase); // Prints 'justSomeSampleText'
print(sample.constantCase); // Prints 'JUST_SOME_SAMPLE_TEXT'
}
This feature is available in version 3.0.0, and requires at least Dart 2.6
Supports:
의존성 목록 1 개
^1.16.8사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗