FLUTTER ECOSYSTEM

thitlwincoder/name_plus

स्वचालित रूप से फ़ाइल और निर्देशिका नाम को बढ़ाएं और बनाएं

name_plus प्रोजेक्ट कवर
Stars
1
Forks
1
अंतिम पुश (UTC)
17 जुल॰ 2023
प्रोजेक्ट स्थिति
सक्रिय
Thit Lwin GitHub avatar
GITHUB User

Thit Lwin ↗

Flutter Developer

RemoteYangon, Myanmar(Burma)
भाषाएँDart

तकनीकी विषय

इस रिपॉज़िटरी के पैकेज

उपयोग की गई निर्भरताएँ

निर्भरता सूची 2 आइटम
  • path^1.8.3
  • lintsडेवलपमेंट^2.1.1

मूल README

यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।

README खोलें / बंद करें

Name Plus

pub package Last Commits GitHub repo size License
Uploaded By

Automatically increment File & Directory name and create.

Usage

create File with extension

File('path').namePlus('filename');

File('path').namePlusSync('filename');

create Directory with extension

Directory('path').namePlus('filename');

Directory('path').namePlusSync('filename');

Options

When creating a File or Directory, you can pass some options:

File('path').namePlus(
  'filename',
  format: '(d)', // change increment number format
  space: false, // space between name & number format
);

Documentation

Check test.txt file name from example folder path and then name not exist create test.txt or name is already exist create with default format test 1.txt

File('example').namePlus('test.txt');
// test 1.txt

If you use format option, d is number place.

File('example').namePlus('test.txt', format: '(d)');
// test (2).txt

File('example').namePlus('test.txt', format: '{d}');
// test {3}.txt

Contribution

Feel free to file an issue if you find a problem or make pull requests.

All contributions are welcome :)