0% found this document useful (0 votes)
7 views4 pages

Link

The document provides links for downloading essential software including IntelliJ IDEA, Dart SDK, Java JDK, Android Studio, and Flutter SDK. It includes Flutter code examples demonstrating the use of various buttons in a mobile application. The code showcases the implementation of buttons, dropdowns, and a floating action button within a Flutter app.

Uploaded by

DINESH TIWARI
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views4 pages

Link

The document provides links for downloading essential software including IntelliJ IDEA, Dart SDK, Java JDK, Android Studio, and Flutter SDK. It includes Flutter code examples demonstrating the use of various buttons in a mobile application. The code showcases the implementation of buttons, dropdowns, and a floating action button within a Flutter app.

Uploaded by

DINESH TIWARI
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Module 1 to Module 3

Link to download IntelliJ IDEA

https://www.jetbrains.com/idea/download/#section=windows

Link to Get the Dart SDK

https://dart.dev/get-dart#:~:text=By%20default%2C%20the%20SDK%20is,%3A%5Ctools%5Cdart%2Dsdk%20.

Module 4 to Module 11
Installing Java JDK and JRE

https://www.oracle.com/in/java/technologies/downloads/#jdk19-windows

Android studio download link

https://developer.android.com/studio?gclid=EAIaIQobChMI_OXynt6J-
wIVISlyCh1s9QTIEAAYASAAEgIy4PD_BwE&gclsrc=aw.ds

Flutter SDK Download

https://docs.flutter.dev/get-started/install/windows

jpg image
https://encrypted-tbn0.gstatic.com/images?
q=tbn:ANd9GcSs5EkcRJN_aUIyEo6aEClaYKCDt3H0tkBaVw&usqp=CAU
Buttons

import 'package:flutter/material.dart';

main() {
runApp(
Myapp(),
);
}

class Myapp extends StatelessWidget {


@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: Text('Lesson 06:Buttons'),
),
body: SafeArea(
child: Column(
children: [
Center(
child: SafeArea(
child: Text(
"Welcome to Android ATC",
style: TextStyle(
fontWeight: FontWeight.normal,
color: Colors.black,
fontSize: 25.0),
),
),
),
ElevatedButton(
onPressed: () {
Navigator.pop(context);
},
child:Text('Back')
),
IconButton(
icon: Icon(Icons.volume_up),
tooltip:'Decrease volume by 10',
onPressed: () {},
),
TextButton(
child:Text('TextButton'),
onPressed: () {}
)
],
),
),
floatingActionButton: FloatingActionButton(
onPressed: () {},
child: Icon(Icons.favorite),
),
),
);
}
}

ALL BUTTON
import 'package:flutter/material.dart';

main() {
runApp(
Myapp(),
);
}

class Myapp extends StatefulWidget {


@override
State<Myapp> createState() => _MyappState();
}

class _MyappState extends State<Myapp> {


var city =['Toronto', 'Boston', 'Mexico', 'London'];

var firstcity ='Toronto';


@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: Text('Lesson 06:Buttons'),
),
body: SafeArea(
child: Column(
children: [
ButtonBar(
alignment: MainAxisAlignment.center,
children: [
OutlinedButton(
child:Text('Flights'),
onPressed: () {},
),
OutlinedButton(
child:Text('Hotels'),
onPressed:() {},
),
OutlinedButton(
child: Text('Food'),
onPressed:() {},
),
],
),
Center(
child: SafeArea(
child: Text(
"Welcome to Android ATC",
style: TextStyle(
fontWeight: FontWeight.normal,
color: Colors.black,
fontSize: 25.0),
),
),
),
ElevatedButton(
onPressed: () {
Navigator.pop(context);
},
child:Text('Back')
),
IconButton(
icon: Icon(Icons.volume_up),
tooltip:'Decrease volume by 10',
onPressed: () {},
),
TextButton(
child:Text('TextButton'),
onPressed: () {}
),
DropdownButton<String>(
items: city.map((String dropDownStringItem){
return DropdownMenuItem<String>(
value: dropDownStringItem,
child: Text(dropDownStringItem),
);
}).toList(),
onChanged: (String? NewUserValue) {
setState(() {
this.firstcity = NewUserValue!;
});
},
value: firstcity,
),
],
),
),
floatingActionButton: FloatingActionButton(
onPressed: () {},
child: Icon(Icons.favorite),
),
),
);
}
}

You might also like