Skip to content

Instantly share code, notes, and snippets.

View himanshusharma89's full-sized avatar
๐Ÿ’™
Developing

HIMANSHU SHARMA himanshusharma89

๐Ÿ’™
Developing
View GitHub Profile
@himanshusharma89
himanshusharma89 / IOT.txt
Last active May 2, 2025 22:09
Internet Of Things -IOT
Hey there! Have you heard of IoT? Yes the most popular thing in industry. If not, it is Internet of Things. Do you use smart watches or have you heard about smart city, smart house, these are the practical application of IoT. Didnโ€™t get it?If you just Google โ€œwhat is IoT?โ€, you will get a technical answer:
โ€œThe Internet of Things (IoT) is a system of interrelated computing devices, mechanical and digital machines, objects, animals or people that are provided with unique identifiers and the ability to transfer data over a network without requiring human-to-human or human-to-computer interaction.โ€
Simply, The Internet of Things, or IoT, refers to the billions of physical devices around the world that are now connected to the internet, collecting and sharing data. Now youโ€™ll ask me โ€œOkay, but why is it so much important?โ€.
Today majority of devices works on sensors but sensors will not live forever. In other words, cheap sensors are not going to be 100% reliable, 100% of the time. Physical damage during norma
@himanshusharma89
himanshusharma89 / Apple_mobile_device_types.txt
Created November 11, 2019 11:53 — forked from adamawolf/Apple_mobile_device_types.txt
List of Apple's mobile device codes types a.k.a. machine ids (e.g. `iPhone1,1`, `Watch1,1`, etc.) and their matching product names
i386 : iPhone Simulator
x86_64 : iPhone Simulator
iPhone1,1 : iPhone
iPhone1,2 : iPhone 3G
iPhone2,1 : iPhone 3GS
iPhone3,1 : iPhone 4
iPhone3,2 : iPhone 4 GSM Rev A
iPhone3,3 : iPhone 4 CDMA
iPhone4,1 : iPhone 4S
iPhone5,1 : iPhone 5 (GSM)

Hello, I am Himanshu Sharma a 2nd year engineering student, and you are reading my story about โ€œhow a student who does only coding went to Flutter App Development?โ€

In the month of October, my room-mate shared me a link of #BuildForDigitalIndia initiative by Google and Govt. of India for Digital India. So we registered as a team along with other members.

After a few weeks, we got a mail that says we are selected for #BuildForDigitalIndia initiative. We were extremely happy, but now the big question arises โ€œWhat can we do in it?โ€. I mean we donโ€™t know any Android Development or Web Development, and half of our team members donโ€™t even code well.

So, I started searching for Android Development. I knew some Web Technologies but I prefer Android Development as I was always interested in Android OS (like Custom ROM/Kernel, rooting and all). And the result I found was Android Development with Java/Kotlin, App development with AWS and Flutter App Development. I tried to work on Kotlin but c

import 'package:flutter/material.dart';
import 'custom_slider_thumb_circle.dart';
class SliderWidget extends StatefulWidget {
final double sliderHeight;
final int min;
final int max;
final fullWidth;
SliderWidget(
Future<Null> saveAndShare() async {
setState(() {
isBtn2 = true;
});
final RenderBox box = context.findRenderObject();
if (Platform.isAndroid) {
var url = 'https://www.winklix.com/blog/wp-content/uploads/2020/01/6t1pv3xcd.png';
var response = await get(url);
final documentDirectory = (await getExternalStorageDirectory()).path;
File imgFile = new File('$documentDirectory/flutter.png');
Future<Null> screenShotAndShare() async {
setState(() {
isBtn1 = true;
});
try {
RenderRepaintBoundary boundary =
previewContainer.currentContext.findRenderObject();
if (boundary.debugNeedsPaint) {
Timer(Duration(seconds: 1), () => screenShotAndShare());
return null;
Widget build(BuildContext context) {
return RepaintBoundary(
key: previewContainer,
child: Scaffold(
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
Container(
height: MediaQuery.of(context).size.height * 0.05,
@himanshusharma89
himanshusharma89 / ripple_effect_in_custom_buttons.dart
Last active November 7, 2020 14:56
Ripple Effect in Custom Buttons
import 'package:flutter/material.dart';
void main() {
runApp(
MaterialApp(
debugShowCheckedModeBanner: false,
home: MyWidget(),
),
);
}
ListView(
shrinkWrap: true,
primary: false,
children: [
listItem(title: "See more", icon: Icons.dashboard_rounded),
listItem(title: "Help & Support", icon: Icons.help_rounded),
listItem(title: "Setting & Privacy", icon: Icons.settings),
ListTile(
leading: Icon(
Icons.open_in_new_rounded,
Widget listItem({int index, String title, IconData icon}) {
return Material(
color: Colors.transparent,
child: Theme(
data: ThemeData(accentColor: Colors.black),
child: ExpansionTile(
leading: Icon(
icon,
size: 40,
),