Making first app with Flutter

sourav mandal
Dec 17, 2020

--

Downloading flutter

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

Setting up

  1. Extract

2. Set the name of the zip file to something smaller otherwise it will give name too long error.

3. Add environment variable.

3. run “flutter doctor” to check if everything is fine.

You need to accept the licences before building in flutter.

flutter doctor --android-licenses

Running first app

Creating first app

flutter create myappcd myappflutter devicesflutter run

PART #2 : Making a navigation drawer

Text

Text("Notes")Text("Flutter Step-by-Step",
style: TextStyle(
color: Colors.white,
fontSize: 20.0,
fontWeight: FontWeight.w500))

Image

flutter:
uses-material-design: true
assets:
- assets/images/lake.jpg
Image.asset('assets/images/lake.jpg') Image.asset(
'assets/images/lake.jpg',
height: double.infinity,
width: double.infinity
)
Image.network( 'https://picsum.photos/250?image=9', )

Snackbar

Scaffold.of(context).showSnackBar(SnackBar(
content: Text("Sending Message"),
));

Click

onTap: () {}

Using new plugin

flutter plugin repository : https://pub.dev/

dependencies:
flutter_redux: ^0.7.0
$ flutter pub getimport 'package:flutter_redux/flutter_redux.dart';

Icon

Icon(Icons.star)

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

sourav mandal
sourav mandal

Written by sourav mandal

just a coder who forgets things so makes blogs so he can remember later

No responses yet

Write a response