Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

task2 #107

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

task2 #107

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .flutter-plugins
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# This is a generated file; do not edit or check into version control.
path_provider=C:\\flutter\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\path_provider-2.0.5\\
path_provider_linux=C:\\flutter\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\path_provider_linux-2.1.0\\
path_provider_macos=C:\\flutter\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\path_provider_macos-2.0.2\\
path_provider_windows=C:\\flutter\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\path_provider_windows-2.0.3\\
1 change: 1 addition & 0 deletions .flutter-plugins-dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"path_provider","path":"C:\\\\flutter\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider-2.0.5\\\\","dependencies":[]}],"android":[{"name":"path_provider","path":"C:\\\\flutter\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider-2.0.5\\\\","dependencies":[]}],"macos":[{"name":"path_provider_macos","path":"C:\\\\flutter\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_macos-2.0.2\\\\","dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"C:\\\\flutter\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_linux-2.1.0\\\\","dependencies":[]}],"windows":[{"name":"path_provider_windows","path":"C:\\\\flutter\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_windows-2.0.3\\\\","dependencies":[]}],"web":[]},"dependencyGraph":[{"name":"path_provider","dependencies":["path_provider_linux","path_provider_macos","path_provider_windows"]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_macos","dependencies":[]},{"name":"path_provider_windows","dependencies":[]}],"date_created":"2021-10-02 21:49:03.163991","version":"2.5.1"}
46 changes: 46 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.buildlog/
.history
.svn/

# IntelliJ related
*.iml
*.ipr
*.iws
.idea/

# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
#.vscode/

# Flutter/Dart/Pub related
**/doc/api/
**/ios/Flutter/.last_build_id
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.packages
.pub-cache/
.pub/
/build/

# Web related
lib/generated_plugin_registrant.dart

# Symbolication related
app.*.symbols

# Obfuscation related
app.*.map.json

# Android Studio will place build artifacts here
/android/app/debug
/android/app/profile
/android/app/release
10 changes: 10 additions & 0 deletions .metadata
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
# This file should be version controlled and should not be manually edited.

version:
revision: ffb2ecea5223acdd139a5039be2f9c796962833d
channel: stable

project_type: app
48 changes: 48 additions & 0 deletions .packages
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# This file is deprecated. Tools should instead consume
# `.dart_tool/package_config.json`.
#
# For more info see: https://dart.dev/go/dot-packages-deprecation
#
# Generated by pub on 2021-10-02 21:37:55.933320.
async:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.8.1/lib/
boolean_selector:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/boolean_selector-2.1.0/lib/
characters:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/characters-1.1.0/lib/
charcode:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.3.1/lib/
clock:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/clock-1.1.0/lib/
collection:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.15.0/lib/
crypto:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/crypto-3.0.1/lib/
cupertino_icons:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/cupertino_icons-1.0.3/lib/
fake_async:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/fake_async-1.2.0/lib/
ffi:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.1.2/lib/
file:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/file-6.1.2/lib/
flutter:file:///C:/flutter/flutter/packages/flutter/lib/
flutter_lints:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_lints-1.0.4/lib/
flutter_test:file:///C:/flutter/flutter/packages/flutter_test/lib/
google_fonts:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/google_fonts-2.1.0/lib/
http:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/http-0.13.3/lib/
http_parser:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/http_parser-4.0.0/lib/
lints:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/lints-1.0.1/lib/
matcher:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.10/lib/
meta:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.7.0/lib/
path:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.8.0/lib/
path_provider:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-2.0.5/lib/
path_provider_linux:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.0/lib/
path_provider_macos:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-2.0.2/lib/
path_provider_platform_interface:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_platform_interface-2.0.1/lib/
path_provider_windows:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.3/lib/
pedantic:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/pedantic-1.11.1/lib/
platform:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/platform-3.0.2/lib/
plugin_platform_interface:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/plugin_platform_interface-2.0.2/lib/
process:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/process-4.2.3/lib/
sky_engine:file:///C:/flutter/flutter/bin/cache/pkg/sky_engine/lib/
source_span:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/source_span-1.8.1/lib/
stack_trace:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.10.0/lib/
stream_channel:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.1.0/lib/
string_scanner:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.1.0/lib/
term_glyph:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.2.0/lib/
test_api:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.4.2/lib/
typed_data:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/typed_data-1.3.0/lib/
vector_math:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/vector_math-2.1.0/lib/
win32:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/win32-2.2.9/lib/
xdg_directories:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/xdg_directories-0.2.0/lib/
firstapp:lib/
53 changes: 16 additions & 37 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,37 +1,16 @@
## Built In Flutter Task 2

#### Part 1 | Flutter PortFolio

Ever heard of a Mobile Portfolio?, Well we are gonna make one. :)

This task makes you flaunt your creative nerves as well as output an awesome Mobile Portfolio which will come handy in your future.

Create an attractive single screen portfolio with Flutter,
Use AppBar, Images from Assets, Container, Text, Column.
Fork this repository and push your codes and a screenshot of your portfolio to a seperate folder with your name within the forked version of the below repository. *The folder name should be your name*.

## EXAMPLE
![Whatsapp-Automation](https://media.discordapp.net/attachments/885514375589412934/888085857704243230/IMG-20210916-WA0119.jpg?width=336&height=644)

Mandatory Widgets for Task Evaluation:
1. Scaffold
2. AppBar
3. Container
4. Text
5. Column or Row
6. Image or Circle avatar
7. Divider (This widget might be new to you, try googling around or mention your difficulties in the #help channel)
#### After all googling is also a tech skill😜


### "Make sure that you include these 7 Widgets in your Project."

Finally create a Pull Request to the Parent Repository and Mention your PR Link with your submission.

:checkered_flag: After completing the task you have to mention that you have completed task-2 along with your GitHub profile and PR Link on the ***#its-show-time*** channel and tag **@Mentor**. Otherwise your work won't be recognised.

##### Deadline : 20th September 6.00 PM

:round_pushpin: *Please ensure that you are using your original profile pic and original name as the server nickname. Otherwise it won't be evaluated.*

Happy Coding.
# firstapp

A new Flutter project.

## Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)

For help getting started with Flutter, view our
[online documentation](https://flutter.dev/docs), which offers tutorials,
samples, guidance on mobile development, and a full API reference.
29 changes: 29 additions & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This file configures the analyzer, which statically analyzes Dart code to
# check for errors, warnings, and lints.
#
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
# invoked from the command line by running `flutter analyze`.

# The following line activates a set of recommended lints for Flutter apps,
# packages, and plugins designed to encourage good coding practices.
include: package:flutter_lints/flutter.yaml

linter:
# The lint rules applied to this project can be customized in the
# section below to disable rules from the `package:flutter_lints/flutter.yaml`
# included above or to enable additional rules. A list of all available lints
# and their documentation is published at
# https://dart-lang.github.io/linter/lints/index.html.
#
# Instead of disabling a lint rule for the entire project in the
# section below, it can also be suppressed for a single line of code
# or a specific dart file by using the `// ignore: name_of_lint` and
# `// ignore_for_file: name_of_lint` syntax on the line or in the file
# producing the lint.
rules:
# avoid_print: false # Uncomment to disable the `avoid_print` rule
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule

# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
Binary file added assets/065f106a8a83500e7e5fa3a12b7bef5d.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions firstapp.iml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/lib" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/.idea" />
<excludeFolder url="file://$MODULE_DIR$/.pub" />
<excludeFolder url="file://$MODULE_DIR$/build" />
</content>
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Dart SDK" level="project" />
<orderEntry type="library" name="Flutter Plugins" level="project" />
<orderEntry type="library" name="Dart Packages" level="project" />
</component>
</module>
168 changes: 168 additions & 0 deletions lib/main.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@
import 'package:flutter/material.dart';

void main() {
runApp(const MyApp());
}

class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);

@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: const MyHomePage(),
);
}
}

class MyHomePage extends StatefulWidget {
const MyHomePage({Key? key}) : super(key: key);

@override
State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
get icon => null;

@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
leading: IconButton(
onPressed: () {},
icon: const Icon(Icons.arrow_back_rounded, color: Colors.black)),
elevation: 0,
backgroundColor: Colors.transparent,
),
body: Container(
height: 800,
width: double.infinity,
padding: const EdgeInsets.all(25),
//color: Colors.g,
child: Column(
children: [
const Align(
child: Text(
'Edit Profile',
style: TextStyle(
fontSize: 30,
fontWeight: FontWeight.w800,
),
),
alignment: Alignment.centerLeft,
),
const SizedBox(
height: 20,
),
const CircleAvatar(
backgroundImage:
AssetImage('assets/065f106a8a83500e7e5fa3a12b7bef5d.jpg'),
radius: 70,
),
const Spacer(),
Row(
children: const [
Text(
'username',
style: TextStyle(color: Colors.black87, fontSize: 17),
),
Spacer(),
Text(
'Amanda',
style: TextStyle(color: Colors.black87, fontSize: 17),
),
],
),
const Spacer(),
const Divider(
color: Colors.black12,
thickness: 2.0,
),
const Spacer(),
Row(
children: const [
Text(
'Email',
style: TextStyle(color: Colors.black87, fontSize: 17),
),
Spacer(),
Text(
'abc@gmail.com',
style: TextStyle(color: Colors.black87, fontSize: 17),
),
],
),
const Spacer(),
const Divider(
color: Colors.black12,
thickness: 2.0,
),
const Spacer(),
Row(
children: const [
Text(
'Phone',
style: TextStyle(color: Colors.black87, fontSize: 17),
),
Spacer(),
Text(
'****999****',
style: TextStyle(color: Colors.black87, fontSize: 17),
),
],
),
const Spacer(),
const Divider(
color: Colors.black12,
thickness: 2.0,
),
const Spacer(),
Row(
children: const [
Text(
'Date of Birth',
style: TextStyle(color: Colors.black87, fontSize: 17),
),
Spacer(),
Text(
'20/09/2001',
style: TextStyle(color: Colors.black),
),
],
),
const Spacer(),
const Divider(
color: Colors.black12,
thickness: 2.0,
),
const Spacer(),
Row(
children: const [
Text(
'Address',
style: TextStyle(color: Colors.black87, fontSize: 17),
),
Spacer(),
Text(
'123 Royal Street, NewYork',
style: TextStyle(color: Colors.black87, fontSize: 17),
),
],
),
const Spacer(),
const Divider(
color: Colors.black12,
thickness: 2.0,
),
],
),
),
);
}
}
Binary file added protfolio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading