-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimizing code, removing useless code
- Loading branch information
Ankur Kedia
committed
Dec 12, 2017
1 parent
c1de19e
commit 54d625d
Showing
9 changed files
with
223 additions
and
185 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 |
---|---|---|
@@ -1,8 +1,9 @@ | ||
# newsapp | ||
# News Buzz | ||
|
||
A new Flutter project. | ||
News App created using Flutter. | ||
|
||
## Getting Started | ||
|
||
For help getting started with Flutter, view our online | ||
[documentation](http://flutter.io/). | ||
###features | ||
Custom news feed based on selected sources | ||
Search for topics | ||
Adding articles to bookmarks | ||
Sharing articles |
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
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
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,64 @@ | ||
import 'package:flutter/material.dart'; | ||
|
||
List list = [ | ||
{ | ||
"id": "business", | ||
"name": "Business", | ||
"icon": Icons.work, | ||
"color": Colors.teal | ||
}, | ||
{ | ||
"id": "technology", | ||
"name": "Technology", | ||
"icon": Icons.smartphone, | ||
"color": Colors.grey[600] | ||
}, | ||
{ | ||
"id": "science-and-nature", | ||
"name": "Science and Nature", | ||
"icon": Icons.nature_people, | ||
"color": Colors.green[600] | ||
}, | ||
{ | ||
"id": "sport", | ||
"name": "Sports", | ||
"icon": Icons.directions_bike, | ||
"color": Colors.deepOrange | ||
}, | ||
{ | ||
"id": "gaming", | ||
"name": "Gaming", | ||
"icon": Icons.videogame_asset, | ||
"color": Colors.orange | ||
}, | ||
{ | ||
"id": "general", | ||
"name": "General", | ||
"icon": Icons.people, | ||
"color": Colors.cyan | ||
}, | ||
{ | ||
"id": "entertainment", | ||
"name": "Entertainment", | ||
"icon": Icons.local_movies, | ||
"color": Colors.purple | ||
}, | ||
{ | ||
"id": "health-and-medical", | ||
"name": "Health and Medical", | ||
"icon": Icons.local_hospital, | ||
"color": Colors.red | ||
}, | ||
{ | ||
"id": "music", | ||
"name": "Music", | ||
"icon": Icons.music_note, | ||
"color": Colors.amber | ||
}, | ||
{ | ||
"id": "politics", | ||
"name": "Politics", | ||
"icon": Icons.assistant_photo, | ||
"color": Colors.blueGrey | ||
}, | ||
]; |
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
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
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.