-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
407 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Miscellaneous | ||
*.class | ||
*.log | ||
*.pyc | ||
*.swp | ||
.DS_Store | ||
.atom/ | ||
.buildlog/ | ||
.history | ||
.svn/ | ||
migrate_working_dir/ | ||
|
||
# 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/ | ||
|
||
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# 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. | ||
|
||
version: | ||
revision: 4b12645012342076800eb701bcdfe18f87da21cf | ||
channel: stable | ||
|
||
project_type: app | ||
|
||
# Tracks metadata for the flutter migrate command | ||
migration: | ||
platforms: | ||
- platform: root | ||
create_revision: 4b12645012342076800eb701bcdfe18f87da21cf | ||
base_revision: 4b12645012342076800eb701bcdfe18f87da21cf | ||
- platform: android | ||
create_revision: 4b12645012342076800eb701bcdfe18f87da21cf | ||
base_revision: 4b12645012342076800eb701bcdfe18f87da21cf | ||
- platform: ios | ||
create_revision: 4b12645012342076800eb701bcdfe18f87da21cf | ||
base_revision: 4b12645012342076800eb701bcdfe18f87da21cf | ||
- platform: linux | ||
create_revision: 4b12645012342076800eb701bcdfe18f87da21cf | ||
base_revision: 4b12645012342076800eb701bcdfe18f87da21cf | ||
- platform: macos | ||
create_revision: 4b12645012342076800eb701bcdfe18f87da21cf | ||
base_revision: 4b12645012342076800eb701bcdfe18f87da21cf | ||
- platform: web | ||
create_revision: 4b12645012342076800eb701bcdfe18f87da21cf | ||
base_revision: 4b12645012342076800eb701bcdfe18f87da21cf | ||
- platform: windows | ||
create_revision: 4b12645012342076800eb701bcdfe18f87da21cf | ||
base_revision: 4b12645012342076800eb701bcdfe18f87da21cf | ||
|
||
# User provided section | ||
|
||
# List of Local paths (relative to this file) that should be | ||
# ignored by the migrate tool. | ||
# | ||
# Files that are not part of the templates will be ignored by default. | ||
unmanaged_files: | ||
- 'lib/main.dart' | ||
- 'ios/Runner.xcodeproj/project.pbxproj' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,148 @@ | ||
import 'package:flutter/material.dart'; | ||
import 'package:toonflix/wigets/button.dart'; | ||
import 'package:toonflix/wigets/currency_card.dart'; | ||
|
||
void _main() { | ||
runApp(const App()); | ||
} | ||
|
||
class App extends StatelessWidget { | ||
const App({super.key}); | ||
|
||
@override | ||
Widget build(BuildContext context) { | ||
return MaterialApp( | ||
home: Scaffold( | ||
backgroundColor: const Color(0xFF181818), | ||
body: SingleChildScrollView( | ||
child: Padding( | ||
padding: const EdgeInsets.symmetric( | ||
horizontal: 20, | ||
), | ||
child: Column( | ||
crossAxisAlignment: CrossAxisAlignment.start, | ||
children: [ | ||
const SizedBox( | ||
height: 50, | ||
), | ||
Row( | ||
mainAxisAlignment: MainAxisAlignment.end, | ||
children: [ | ||
Column( | ||
crossAxisAlignment: CrossAxisAlignment.end, | ||
children: [ | ||
const Text( | ||
'Hey, Selena', | ||
style: TextStyle( | ||
color: Colors.white, | ||
fontSize: 34, | ||
fontWeight: FontWeight.w600, | ||
), | ||
), | ||
Text( | ||
'Welcome back', | ||
style: TextStyle( | ||
color: Colors.white.withOpacity(0.8), | ||
fontSize: 18, | ||
), | ||
), | ||
], | ||
) | ||
], | ||
), | ||
const SizedBox( | ||
height: 50, | ||
), | ||
Text( | ||
'Total Balance', | ||
style: TextStyle( | ||
color: Colors.white.withOpacity(0.8), | ||
fontSize: 22, | ||
), | ||
), | ||
const SizedBox( | ||
height: 5, | ||
), | ||
const Text( | ||
'\$5 194 482', | ||
style: TextStyle( | ||
fontSize: 44, | ||
color: Colors.white, | ||
fontWeight: FontWeight.w600, | ||
), | ||
), | ||
const SizedBox( | ||
height: 30, | ||
), | ||
Row( | ||
mainAxisAlignment: MainAxisAlignment.spaceBetween, | ||
children: const [ | ||
Button( | ||
text: 'Transfer', | ||
bgColor: Colors.amber, | ||
textColor: Colors.black, | ||
), | ||
Button( | ||
text: 'Request', | ||
bgColor: Color(0xFF1F2123), | ||
textColor: Colors.white, | ||
), | ||
], | ||
), | ||
const SizedBox( | ||
height: 100, | ||
), | ||
Row( | ||
mainAxisAlignment: MainAxisAlignment.spaceBetween, | ||
crossAxisAlignment: CrossAxisAlignment.end, | ||
children: [ | ||
const Text( | ||
'Wallets', | ||
style: TextStyle( | ||
color: Colors.white, | ||
fontSize: 36, | ||
fontWeight: FontWeight.w600, | ||
), | ||
), | ||
Text('View All', | ||
style: TextStyle( | ||
color: Colors.white.withOpacity(0.8), | ||
fontSize: 18, | ||
)), | ||
], | ||
), | ||
const SizedBox( | ||
height: 20, | ||
), | ||
const CurrencyCard( | ||
name: 'EURO', | ||
code: 'EUR', | ||
amount: '6 428', | ||
icon: Icons.euro, | ||
isInverted: false, | ||
offset: 0, | ||
), | ||
const CurrencyCard( | ||
name: 'Bitcoin', | ||
code: 'BTC', | ||
amount: '9 785', | ||
icon: Icons.currency_bitcoin, | ||
isInverted: true, | ||
offset: 1, | ||
), | ||
const CurrencyCard( | ||
name: 'Dollar', | ||
code: 'USD', | ||
amount: '428', | ||
icon: Icons.money_outlined, | ||
isInverted: false, | ||
offset: 2, | ||
), | ||
], | ||
), | ||
), | ||
), | ||
), | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.