Skip to content

anilgsharma900/MethodChannelDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

methodchannel_demo

This is a simple method channel example where we implemented only to call Android native code using method channel from dart/flutter code. After exectute this code, click on floating button then it will show the document list in logs

Flutter Project structure

  • android: Contains android native code
  • ios: Contains ios native code
  • lib: Write flutter common code for all platforms in dart
  • test: test cases
  • web: Web application support, you create app for desktop then other folders will be there
  • pubspec.yaml: Contains packages, and project configuration as assets, flutter & dart versions, application code, version, app metadata, name etc

In project structure, I am using fvm to manage flutter versions for multiple apps that's why .fvm folder is there. I use sidekick for fvm

Contact

Getting Started Flutter Official docs

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Contributing

Contributions are welcome. In case of any problems look at existing issues, if you cannot find anything related to your problem then open an issue. Create an issue before opening a pull request for non trivial fixes. In case of trivial fixes open a pull request directly.

About

use native Android code in flutter using MethodChannel.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published