Flutter Heroes
26.1K subscribers
272 photos
2 videos
31.1K links
Download Telegram
New post on /r/flutterdev subreddit:

How to integrate google pay in flutter app using stripe?
This is my code .i have used stripe_payment: 1.0.7 library . i got token also which i have shown on log.But i need payer email also to send it into backend.can u pls help me through this library.if it is not possible from this library then can u suggest me another way to get token , email etc as json responses.RaisedButton(
child: Text("Google Pay"),
onPressed: () {
if (Platform.isIOS) {
_controller.jumpTo(450);
}
StripePayment.paymentRequestWithNativePay(
androidPayOptions: AndroidPayPaymentRequest(
totalPrice: "0.40",
currencyCode: "EUR",
billingAddressRequired: true,
shippingAddressRequired: true,
),
applePayOptions: ApplePayPaymentOptions(
countryCode: 'DE',
currencyCode: 'EUR',
items: [
ApplePayItem(
label: 'Test',
amount: '0.1',
)
],
),
).then((token) {
setState(() {
// _scaffoldKey.currentState.showSnackBar(SnackBar(content: Text('Received ${token.tokenId}')));
//_scaffoldKey.currentState.showSnackBar(SnackBar(content: Text('Received ${token.tokenId}')));
print(token.tokenId);
print(token.toJson());
tokenId = token.tokenId;
if(tokenId!=null||tokenId!=**''**){
getPayment_Api();
}});
}).catchError(setError);
},
),

August 21, 2020 at 08:48AM by flutter_sanju
https://ift.tt/34o9SfN
New post on Flutter Dev Google group:

Native layout settings affecting on app
hi there, How can I prevent the system settings for font size and layout size from affecting my app? Can I turn this off for my app? Best - sue

August 21, 2020 at 09:34AM by Şükriye Ludwig
https://ift.tt/3j3TWDM
New post on /r/flutterdev subreddit:

Get Tail Call Optimisation In The Dart Language
Dart is the awesome language that powers all the UI goodness that is Flutter. The post (post) explains how the Functional Programming style is seeing some significant adoption in non-traditional Functional Programming languages. JavaScript being a clear example, and the Dart language being another. Dart is a very exciting language, which is not only a modern statically typed and easy to write language, but also compilable to various platforms and also completely transpilable to JavaScript!The one major drawback, from a Functional Programming style perspective, of Dart is that it currently doesn't support Tail Call Optimisation. This can change however. There is currently a new open issue with the Dart language team at GitHub that is discussing the benefits of Tail Recursion, the importance of Tail Call Optimisations and even possible ways to implement this into the language, compilers and transpiler.For those that want to be able to run Tail Recursive functions in Constant Space (that is, without the fear of Stack Overflow errors) and those that are experimenting with/loving the Functional Programming style of coding in the awesome Dart language, head on over to GitHub and thumbs-up this open issue and let your voices be heard.

August 21, 2020 at 10:03AM by Egoxar
https://ift.tt/3aIvBAe
New post on /r/flutterdev subreddit:

IOS drag and drop between apps?
Can one drag and drop from another app into an IOS Flutter app, using say the IOS split app screen feature? How about the reverse, dragging from the Flutter app?

August 21, 2020 at 10:35AM by aryehof
https://ift.tt/3l3LUMM
New post on /r/flutterdev subreddit:

Need Advise
I'm 30 years old. I want to learn flutter ? I know HTML and CSS . If it possible den can I get job ?

August 21, 2020 at 10:20AM by dama_sekhon
https://ift.tt/32acfjz
New post on /r/flutterdev subreddit:

Howto: Burning paper effect animation in Flutter
https://ift.tt/3iWojeY

August 21, 2020 at 01:12PM by flutterclutter
https://ift.tt/3aRR9KY
New post on Flutter Dev Google group:

Error Message
The following NoSuchMethodError was thrown building Listener: The getter 'length' was called on null. Receiver: null Tried calling: length Please help me with this issue.

August 21, 2020 at 01:46PM by Akash Lilhare
https://ift.tt/32jjq9s
New post on /r/flutterdev subreddit:

Tracking Facebook conversions?
Hey, I would like to be able to link data to marketing campaigns to see how successful they are. In order to do so, Flutter app needs to report back to Facebook. I haven't found any official reliable plugin with FB SDK. Appreciate any feedback.

August 21, 2020 at 03:37PM by chrisrutkowski
https://ift.tt/34m4rxS
New tweet from FlutterDev:

There are 280 pages on https://t.co/D5zUDy0ift and it's unlikely you'll read them top to bottom. We're featuring certain pages to shed a light on them.

Check out this cookbook page on how to take a picture using the device's camera → https://t.co/tGteDyPWAu
#FlutterDocs pic.twitter.com/4YFbY5x7rw— Flutter (@FlutterDev) August 21, 2020

August 21, 2020 at 06:00PM
http://twitter.com/FlutterDev/status/1296839540624285698
New post on Flutter Dev Google group:

Package's cost in an App Size
Generally, by how my bytes or MB does an package increase the size of App? If Package increase the size of the app, then how could I check which package will cost how much? Or If I am missing anything please tell me. Thanks

August 21, 2020 at 06:37PM by Yash Chandra verma
https://ift.tt/2Qbdfi1
New post on /r/flutterdev subreddit:

Stop the INSANITY!!!
Can we please make 4 space tabs the norm? Thanks!

August 21, 2020 at 06:37PM by scorr14
https://ift.tt/2YmDUga
New post on /r/flutterdev subreddit:

A way to put an entry into local db once a month
Is it possible in flutter to add a scheduled entry into a local db once a month?

August 21, 2020 at 06:29PM by alixfu
https://ift.tt/3gi9Lot
New post on Flutter Dev Google group:

Showing this pop-up instead of drop down menu
When I click alt + enter it showing this pop-up instead of drop down menu where I can select options for adding different widgets

August 21, 2020 at 08:00PM by Akash Lilhare
https://ift.tt/3hehmpg