Posts

Food Delivery App 17 - Managing PaymentOption

Image
 

Food Delivery App 16 - Placing Order from Cart using Razorpay

Image
      Razor Pay is one of the best payment gateways which provided plugin in a flutter. It was the most straightforward to integrate in-product payment widget that kicked us off with Razorpay yet it was the quick and dependable help for both issue settlement and on-boarding new highlights that have kept us cooperating with them!. Assemble a protected installment arrangement on your site or portable application with Razorpay and get installments from your clients utilizing different installment techniques on your Checkout structure. You can follow installments at each progression of its life cycle and effectively manage them. How to Generate API Key Sign in to your Dashboard with suitable credentials. Select the mode ( Test or Live ) for which you need to create the API key Explore to Settings → API Keys → Generate Key to create a key for the chose mode. N ote : You need to produce separate API Keys for the test and live modes. No cash is deducted from your...

Food Delivery App 15 - Managing Dishes in Cart with Quantity and Price

Image
 

Food Delivery App 14 - Fetching Menu Dishes of Restaurant

Image
 

Food Delivery App 13 - Creating Dish Document in Menu of Restaurant

Image
 

Food Delivery App 12 - Restaurant Home Page with Filters, Slider Images and Restaurant List

Image
 

Food Delivery App 11 - ListView with StreamBuilder API

Rendering a ListView with StreamBuilder final Stream < List < int >> _posts = Stream < List < int >>. fromIterable ( < List < int >>[ List < int >. generate ( 10 , ( int i ) => i ), ], ); That List of 10 items is used as the first value in a new Stream . From the subscription side of the Stream , there will be a single event with data that is a List of 10 items. I'm going with this pattern because Firestore will have snapshots with multiple documents. The PostsList build method needs to be updated to consume the Stream and use a StreamBuilder : @override Widget build ( BuildContext context ) { return StreamBuilder < List < int >>( stream: posts , builder: ( BuildContext context , AsyncSnapshot < List < int >> snapshot ) { if ( snapshot . hasError ) { return Text ( 'Error: ${snapshot.error} ' ); } switch ( snapshot...