Edit pubspec.yaml
:
# Add denpendecies
dependencies:
...
flutter_localizations:
sdk: flutter
intl: ^0.17.0-nullsafety.2
...
# Enable code generation support for Localization
flutter:
...
generate: true
STEP 1 - Create ${FLUTTER_PROJECT}/l10n.ymal
for localization configuration
STEP 2 - Create ${FLUTTER_PROJECT}/lib/l10n
for input files
STEP 3 - In ${FLUTTER_PROJECT}/lib/l10n
, add the app_en.arb
template file:
{
"helloWorld": "Hello World!",
"@helloWorld": {
"description": "The conventional newborn programmer greeting"
}
}
STEP 4 - Generate localization code
flutter pub get
cd into ios/Runner/Info.plist
and add:
<key>UIFileSharingEnabled</key>
<true/>
Edit pubspec.yaml
:
dependencies:
...
image_picker:
Add the following keys to your Info.plist file, located in <PROJECT_ROOT>/ios/Runner/Info.plist
:
NSPhotoLibraryUsageDescription
- describe why app needs permission for the photo library. It's called Privacy - Photo Library Usage Description in the visual editor.
NSCameraUsageDescription
- describe why your app needs access to the camera. It's called Privacy - Camera Usage Description in the visual editor.
NSMicrophoneUsageDescription
- describe why app needs access to the microphone, if intend to record videos. It's called Privacy - Microphone Usage Description in the visual editor.
For detailed information click here
Testing or running mixed-version programs
flutter run --no-sound-null-safety -v
Alternatively, set the language version in the entrypoint — the file that contains main() function — to 2.9. In Flutter apps, this file is often named lib/main.dart. In command-line apps, this file is often named bin/.dart. You can also opt out files under test, because they are also entrypoints.
lib/main.dart:
// @dart=2.9 <--- add this line to specify the dart version for compiling the project
import 'src/my_app.dart';
import ...
main() {
//...
}
For more information click here
- Add Lisence file
- Add snakbar to withdraw moving/deleting files
- Add triggers when new files are added to app from AirDrop/MacBook/etc.
- Multi-select & bulk action feature
- Multi delete or move
- High light folder section (dim light rest)
- Shake folders (optional)
- Folder icon long press to show dropdown menu
- Air Drop file from Mac to iPhone/iPad
- Air Drop file from iPhone/iPad to Mac
- Share file from app to other app
- Integrate with 'File' app on iOS
- Add file or directory to 'File' app on iOS
- iPad layout optimization (important)
- Create project
flutter create <name>
- Copy
README.md
&.gitignore
file from old project - Open
ios/Runner.xcworkspace
and edit Bundle Identifier tocom.v2player.flutter.app
- Copy dependencies & edit configs from
pubsepc.ymal
- Copy & edit configs from
ios/Runner/Info.plist
- Debug once to make permissions to take effect
- Copy
l10n.yaml
file,assets
lib
&test
directory to project and runflutter pub get