Flutter: Build Your First Plugin for Android & iOS | Flutter Toast

Flutter: Build Your First Plugin for Android & iOS | Flutter Toast

Codepur

6 лет назад

29,384 Просмотров

In this video, I will explain how to develop a package that calls into platform-specific APIs.

We will be making a toast plugin in this video.

A plugin package is a specialized version of a Dart package, that in addition to the content described above also contains platform-specific implementations written for Android (Java or Kotlin code), for iOS (Objective-C or Swift code), or for both. The API is connected to the platform-specific implementation(s) using platform channels.

Give star for this project on git and like the video.

Source Code -https://github.com/iampawan/FlutterToastPlugin

Package Link -
https://pub.dartlang.org/packages/flutter_toast_pk

Flutter Example Apps - https://goo.gl/8hZQkq

FB Group - https://goo.gl/hwnX2F



Instagram - https://instagram.com/codepur_ka_superhero


Be sure to ask for help in the comments if you need any. Suggestions for future Flutter tutorials are also very welcome! :)

Flutter is an SDK owned by Google to create applications for Android and iOS using a single codebase. Flutter uses the Dart programming language (also owned by Google). Flutter was in beta when I released this video, so things might still change a bit. But the SDK is already mature enough to write some cool production apps!

Please Subscribe my channel to motivate me .
Subscribe Our Channel : https://goo.gl/BlFui4

For Fun - https://www.youtube.com/channel/UC6i0...

Connect with us on social media:
Facebook: https://www.facebook.com/mtechviral
Pawan Kumar - https://www.facebook.com/imthepk
Ask Pawan Kumar - https://www.facebook.com/thepawankumaar
Instagram - https://instagram.com/codepur_ka_superhero
Twitter: https://twitter.com/imthepk

LIKE | SHARE | SUBSCRIBE FOR MORE VIDEOS LIKE THIS

THANKS FOR WATCHING!

Тэги:

#flutter #flutter_sdk #flutter_tutorial #flutter_tutorials #dart #google_i/o_2018 #flutter_plugin #flutter_plugin_development #flutter_plugin_example #flutter_plugin_android_studio #flutter_package #upload_flutter_plugin #flutter_toast #flutter_plugin_tutorial #flutter_package_tutorial #dart_package #flutter_plugin_api #flutter_api #flutter_api_example
Ссылки и html тэги не поддерживаются


Комментарии:

amir rahi
amir rahi - 29.10.2022 10:41

Value of optional type 'NSDictionary?' must be unwrapped to refer to member 'subscript' of wrapped base type 'NSDictionary'

iOS side error

Ответить
Samuel Thomas
Samuel Thomas - 20.07.2022 09:08

can you do that with kotlin

Ответить
SEOTADEO
SEOTADEO - 20.12.2021 21:44

Good video!

Ответить
Panneer Selvam
Panneer Selvam - 22.10.2021 17:40

sir plugin creation commend line ?

Ответить
Akash khan
Akash khan - 09.07.2021 18:43

Could you please tell me how to implement startActivityForResult in flutter android plugin.

Ответить
Academia Dev
Academia Dev - 08.07.2021 07:09

Thanks!

Ответить
Mrudul Addipalli
Mrudul Addipalli - 22.05.2021 20:13

Thankyou

Ответить
hina hussain
hina hussain - 29.03.2021 12:21

how to add a third-party framework or API in the iOS plugin.

Ответить
Amit Gupta
Amit Gupta - 17.01.2021 14:02

I saw your video ,This video is helpful for me ,just I stuck one problem
Like as
One android method
onReceived(String message)
{
Log.e(“”,message)
}
My question is > How can pass this message in main.dart file

Ответить
Lazar Jovicic
Lazar Jovicic - 21.12.2020 08:32

I appreciate your effort, but keeping focus on video is impossible, please consider preparing for the video before recording it :)

Ответить
rajvi shah
rajvi shah - 07.04.2020 11:50

If I want to get TextField value in java file What can I do for that?

Ответить
Prasath
Prasath - 23.02.2020 15:29

Thanks, man, great effort, Love you

Ответить
Ali Siraj
Ali Siraj - 05.02.2020 20:32

Great

Ответить
Гущин Юрий
Гущин Юрий - 13.01.2020 15:24

can't run your source code with error @Action Required: You must set a build name and number in the pubspec.yaml file version field before submitting to the App Store.
Is it ok?

Ответить
RQ
RQ - 20.10.2019 07:44

Can we do it in windows?

Ответить
Anand A Santhosh
Anand A Santhosh - 17.08.2019 18:09

How to do vise versa, invoking a dart function from platform code

Ответить
Michael
Michael - 02.08.2019 21:49

Thanks Pawan

Ответить
Huzaifa Bajwa
Huzaifa Bajwa - 01.04.2019 20:43

love you bro for your efforts , <3 <3 , keep doing it :)

Ответить
Steven CC
Steven CC - 19.03.2019 23:34

Nice and funny video :))

Ответить
React Native From Start
React Native From Start - 26.02.2019 08:54

plzz sir cover pedomter plugin plzzz sir as soon as possible

Ответить
God Emperor
God Emperor - 31.10.2018 15:21

Do u reply to queries?

Ответить
Luc -
Luc - - 25.10.2018 15:27

Hi MTechViral
Is this possible to have Android virtual device and iOS virtual device on windows with Android studio ?
Being able to work on both at the same time looks insane

Ответить
Sunit Gautam
Sunit Gautam - 11.06.2018 01:19

Can you do a video on Facebook Oauth with Firebase in flutter? Thanks! :)

Ответить
Niyazi Toros
Niyazi Toros - 08.06.2018 13:02

Thanks, I was waiting this :)

Ответить
Jai Tuteja
Jai Tuteja - 07.06.2018 22:48

can u plz add a video to devlope browser ...🤔

Ответить
Pranav Verma
Pranav Verma - 04.06.2018 11:20

How we install beta version of flutter?
i am new is there please

Ответить
Keerthan S
Keerthan S - 03.06.2018 16:05

Can you do a video on music player through which we can stream song online from the cloud?

Ответить
Tushar Rai
Tushar Rai - 03.06.2018 15:52

Can you help with a step counter widget with flutter

Ответить
Sureshkumar Prajapati
Sureshkumar Prajapati - 03.06.2018 15:36

woww bro

Ответить