Skip to content

Commit eeb5c9f

Browse files
committed
Information update patch
1 parent 183be23 commit eeb5c9f

File tree

8 files changed

+31
-6
lines changed

8 files changed

+31
-6
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626

2727
> Just in case if you ran into errors make sure you're using correct flutter & dart version. In order to support desktop build master branch is a requirement & Master branch is not stable so breaking changes happen very often.
2828
29+
> A formal warning. In order to complie app properly on your machine you'll need to switch master channel with exact revision. By doing so the process will delete any previous stable/beta flutter/dart sdk. Thank you <a href="https://github.com/3mrdev" tagret="_3mrdev">@3mrdev</a> for letting me know of this issue. I'll look into the fvm or any other version manger when I get more free time to spend on it.
30+
2931
- Flutter master channel & Framework • revision `4df8fdb7df`
3032
- Run `flutter --version` to check it
3133
- Dart VM version: 2.7.1
@@ -67,7 +69,7 @@
6769

6870
## Scripts
6971

70-
> Just run `npm run install` once
72+
> Just run `npm run setup` once
7173
7274
- `scripts/upload.js`
7375
- `npm run upload platform` // platforms: [apk, windows, linux, macos]

android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
FlutterApplication and put your custom class here. -->
88
<application
99
android:name="io.flutter.app.FlutterApplication"
10-
android:label="flutter_uis"
10+
android:label="Flutter UI Designs"
1111
android:icon="@mipmap/ic_launcher">
1212
<activity
1313
android:name=".MainActivity"

lib/Navigator.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ class AppNavigator extends StatelessWidget {
6262
fontFamily: "Muli",
6363
primaryColor: theme.primary,
6464
accentColor: theme.primary,
65+
textTheme: TextTheme(
66+
bodyText2: TextStyle(
67+
color: Colors.black.withOpacity(0.6),
68+
),
69+
),
6570
),
6671
navigatorObservers: observers,
6772
home: HomeScreen(),

lib/Widgets/UICard/UICard.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import 'dart:math';
2-
31
import 'package:flutter/material.dart';
42

53
import 'package:flutter_uis/configs/Theme.dart' as theme;

lib/blocs/ui_bloc/data.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ List<UIItem> uilist = [
6060
id: 5,
6161
name: "Egg Timer Concept",
6262
designer: "ultranoir",
63-
// "designer": "designer",
63+
description:
64+
"This UI was pirmarly built by fluttery youtube channel. But for some reasons all the resources published by him was removed from every online platform. Someone saved his video tutorials on google drive so I found those videos and build this one master piece with my code style",
6465
source: "dribbble",
6566
miniApp: "etcHome",
6667
link:

lib/blocs/ui_bloc/ui_item.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
class UIItem {
22
int id;
33
String name;
4+
String description;
45
String designer;
56
String source;
67
String miniApp;
@@ -14,6 +15,7 @@ class UIItem {
1415
UIItem({
1516
this.id,
1617
this.name,
18+
this.description,
1719
this.designer,
1820
this.source,
1921
this.miniApp,
@@ -28,6 +30,7 @@ class UIItem {
2830
UIItem.fromMap(Map json) {
2931
this.id = json["id"];
3032
this.name = json["name"];
33+
this.description = json["description"];
3134
this.designer = json["designer"];
3235
this.source = json["source"];
3336
this.miniApp = json["miniApp"];

lib/screens/UiDetail/UIDetail.dart

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,22 @@ class _UiDetailScreenState extends State<UiDetailScreen>
245245
),
246246
),
247247
),
248+
(uiItem.description != null
249+
? Container(
250+
margin: EdgeInsets.only(top: AppDimensions.padding),
251+
padding: EdgeInsets.symmetric(
252+
horizontal: AppDimensions.padding,
253+
),
254+
child: Text(
255+
uiItem.description,
256+
style: TextStyle(
257+
fontSize: 16.0,
258+
fontWeight: FontWeight.w600,
259+
color: Theme.of(context).textTheme.bodyText2.color,
260+
),
261+
),
262+
)
263+
: Container()),
248264
Padding(padding: EdgeInsets.all(AppDimensions.padding)),
249265
Row(
250266
// crossAxisAlignment: CrossAxisAlignment.stretch,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"deploy-web": "npm run build-web && firebase deloy",
1414
"debug-upload": "nodemon scripts/upload.js --exec babel-node",
1515
"upload": "babel-node scripts/upload.js",
16-
"install": "npm i && npm i -g @babel/cli @babel/core @babel/node @babel/preset-env nodemon"
16+
"setup": "npm i && npm i -g @babel/cli @babel/core @babel/node @babel/preset-env nodemon"
1717
},
1818
"dependencies": {
1919
"@babel/polyfill": "7.7.0",

0 commit comments

Comments
 (0)