Posts

Showing posts with the label #Youtube

Create a Taxi Booking Project in flutter

Image
Introduction: In today's fast-paced world, the demand for efficient transportation solutions is ever-growing. Taxi booking apps have emerged as indispensable tools, offering users convenience and reliability in navigating urban landscapes. Leveraging the power of Flutter, a versatile and efficient cross-platform framework, developers can craft robust and feature-rich taxi booking apps that meet the needs of modern travelers. In this guide, we'll explore how to build a taxi booking app with Flutter, incorporating essential features like a dashboard, maps integration, online payment, and route selection, all while adhering to the MVVM architecture. Building the Taxi Booking App with Flutter Project Setup: Begin by creating a new Flutter project and setting up the necessary dependencies, including packages for state management and maps integration. Model Definition: Define the data model for the app, encompassing classes to represent rides, user information, payment details, and ...

Taxi Booking in Flutter - RideDetail dart

Image
 Create a file named as 'RideDetail.dart' in Lib Folder and paste following code: Please, support my blog by clicking on our sponsors ad! import 'package:flutter/material.dart'; import 'package:font_awesome_flutter/font_awesome_flutter.dart'; import 'package:myfirstproject/Dashboard.dart'; import 'package:myfirstproject/cards/areaspot_card.dart'; import 'package:myfirstproject/cards/location_card.dart'; import 'package:myfirstproject/common/bottomnavigationbar.dart'; import 'package:myfirstproject/common/constants.dart'; import 'package:myfirstproject/ViewModels/locationviewmodel.dart'; import 'package:provider/provider.dart'; class RideDetail extends StatefulWidget { const RideDetail({Key? key}) : super(key: key); @override RideDetailState createState() => RideDetailState(); } class RideDetailState extends State { final LocationViewModel locationViewModel = LocationViewModel(); ...

Taxi Booking in Flutter - LocationModel dart file

Image
 Create a file named as 'locationmodel.dart' in lib -> models folder and paste following code: Please, support my blog by clicking on our sponsors ad! import 'package:myfirstproject/models/AreaSpotModel.dart'; class LocationModel { late final String Name; late final String Img ; late final String Distance; late final String Rate; late final String Address; late final String Spot1; late final String Spot2; LocationModel({ required this.Name,required this.Img,required this.Distance, required this.Rate, required this.Address, required this.Spot1,required this.Spot2}); } Go to Main project

Taxi booking in flutter - Location_Cart.dart

Image
 Create a file named as 'location_card.dart' in lib -> cards folder and paste following code: Please, support my blog by clicking on our sponsors ad! import 'package:flutter/material.dart'; import 'package:font_awesome_flutter/font_awesome_flutter.dart'; import 'package:myfirstproject/common/constants.dart'; import 'package:myfirstproject/models/locationmodel.dart'; class LocationCard extends StatelessWidget { late final LocationModel locationModel; LocationCard({required this.locationModel}); @override Widget build(BuildContext context) { return Card(elevation: 0, child: Container( width: 150,height: 180, decoration: BoxDecoration(borderRadius: BorderRadius.circular(20.0), color: Colors.white), child: Padding( padding: const EdgeInsets.all(10), child: Column( children: [ ClipRRect(borderRadius: BorderRadius.circular(20.0), child: Image.network(location...

Taxi Booking in Flutter - AreaSpot_Card dart file

Image
 Create a file named as 'areaspot_card.dart' in lib -> cards folder and paste following code: Please, support my blog by clicking on our sponsors ad! import 'package:flutter/material.dart'; import 'package:font_awesome_flutter/font_awesome_flutter.dart'; import 'package:myfirstproject/models/locationmodel.dart'; import 'package:myfirstproject/common/constants.dart'; class AreaSpotCard extends StatelessWidget { late final LocationModel locationModel; AreaSpotCard({required this.locationModel}); @override Widget build(BuildContext context) { return Card(color: SecondaryColor,elevation: 0, shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(0)), child: Padding( padding: const EdgeInsets.only(top: 20.0,left: 20.0,right: 20.0,bottom: 0.0), child: Container(decoration: BoxDecoration(color: Colors.white, borderRadius: BorderRadius.circular(20)), child: Padding( padding: const EdgeInsets.all(...

Taxi Booking in Flutter - Dashboart.dart

Image
 Create a file named as 'Dashboard.dart' in LibFolder and paste following code: Please, support my blog by clicking on our sponsors ad! import 'package:flutter/material.dart'; import 'package:flutter/scheduler.dart'; import 'package:myfirstproject/RideDetail.dart'; import 'package:myfirstproject/ViewModels/locationviewmodel.dart'; import 'package:myfirstproject/cards/location_card.dart'; import 'package:provider/provider.dart'; import 'common/constants.dart'; import 'package:font_awesome_flutter/font_awesome_flutter.dart'; import 'common/bottomnavigationbar.dart'; class Dashboard extends StatefulWidget { const Dashboard({Key? key}) : super(key: key); @override DashboardState createState() => DashboardState(); } class DashboardState extends State { final LocationViewModel locationViewModel = LocationViewModel(); @override void initState() { locationViewModel.GetData(); ...

How to Start a YouTube Channel and Monetize It

Image
In today's digital age, YouTube has become more than just a platform for sharing videos—it's a lucrative opportunity for those who know how to leverage it. If you've ever dreamt of starting a YouTube channel and turning your passion into profit, you're in the right place. In this comprehensive guide, we'll walk you through the steps to start a YouTube channel and explore various strategies to monetize it successfully.  Part 1: Setting Up Your YouTube Channel ### 1.1 Choose Your Niche: The first step in starting a successful YouTube channel is choosing a niche you're passionate about. Your niche should reflect your interests, knowledge, and the type of content you want to create. Consider your target audience and what they would be interested in. ### 1.2 Create a Google Account: If you don't already have one, you'll need a Google account to access YouTube. Use your Google account to create a YouTube channel. Make sure your channel name aligns with your ni...

Find out how to implement appshell in xamarin forms

Image
Xamarin.Forms 4.0 introduced the amazing feature called Xamarins.Forms Shell. It has reduced complexity of creating mobile apps. Please, support my blog by clicking on our sponsors ad! It is used for Navigation,URI base routing, integrated search handling. Before Appshell there was independent feature: MasterDetailPage TabbedPage NavigationPage but Appshell has combine this and make easy creating apps. > You can add xaml file in your project and named it as AppShell.xaml and Update it like below code: AppShell.Xaml <?xml version="1.0" encoding="utf-8" ?> <Shell xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="XamarinCourse.AppShell"> </Shell> AppShell.Xaml.cs public partial class AppShell : Shell { public AppShell() { InitializeComponent(); } } You can call this class...

Part 8 - Absolute Layout in Xamarin form

Image
 Absolute layout is used to position and size children using explicit values. The position is specified by the upper-left corner of the child relative to the upper-left corner of the AbsoluteLayout, in device independent units.Absolute Layout also implement proportional positioning and sizing feature. Please, support my blog by clicking on our sponsors ad! The Absolute Layout has two properties: LayoutBounds LayoutFlags Layout Bounds The default value is (0,0,Autosize,Autosize). The Parameter is as X,Y,Width,Height. LayoutFlags The default value of this property is AbsoluteLayoutFlags.None. This property indicates that the position and size are interpreted proportionally. Proportional values are from 0-1. 0 indicates 0% and 1 indicates 100%. If you want to use 50% then value will be 0.5 Values are as follow: None This is default value. this is autosize/fixed value. XProportional Indicates that what percentage X of parent should use, while other are absolute value...

Textbox, Button, Combobox Design in xamarin form

Image
  Textbox,Button, Combobox Design in xamarin form First we will create template get fontawesome code from  here Copy code for CustomEntry from  this link . Code is explain in this video Add " PancakeView " nugget in your project. CustomTextbox.xaml <ContentView xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:pcview="clr-namespace:Xamarin.Forms.PancakeView;assembly=Xamarin.Forms.PancakeView" xmlns:control="clr-namespace:LoginUIDesigns.Controls" x:Class="LoginUIDesigns.Controls.CustomTextbox"> <ContentView.Content> <StackLayout> <pcview:PancakeView x:Name="pc" CornerRadius="40,0,0,40" HeightRequest="55" BackgroundColor="White" Padding="10,0"> ...

Hotel UI Design using xamarin Form

Image
  Hotel UI Design using xamarin form First we will create template get fontawesome code from  here Copy code for CustomEntry from  this link . FilterTemplate.xaml <ContentView xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="HotelUIDesign.Views.Search_Page.Template.FilterTemplate"> <ContentView.Content> <StackLayout Padding="5"> <Frame CornerRadius="20" HasShadow="True"> <Grid ColumnDefinitions="Auto,Auto"> <Label Grid.Column="0" Text="{Binding Filter}" TextColor="#202020"></Label> <Label Grid.Column="1" VerticalOptions="Center" TextColor="#202020" FontFamily="{StaticResource FontAwesomeSolid}" FontSize="20" ...