Skip to content

Commit af7a535

Browse files
Sandip KakadiyaSandip Kakadiya
authored andcommitted
first stable release
1 parent 3489f38 commit af7a535

File tree

5 files changed

+39
-18
lines changed

5 files changed

+39
-18
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# Changelog
22

3+
4+
## 1.0.0 - 2020-01-20
5+
6+
### Added
7+
* Stable version release
8+
* code refectoring
9+
* this release includes following stable components
10+
- GFAvatar
11+
- GFButton
12+
- GFIconButton
13+
- GFButtonBar
14+
- GFBadge
15+
- GFButtonBadge
16+
- GFIconBadge
17+
- GFCard
18+
- GFCarousel
19+
- GFImageOverlay
20+
- GFListTile
21+
- GFTabs
22+
- GFTypography
23+
24+
325
## 1.0.0-dev.9 - 2020-01-17
426

527
### Added

example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ packages:
8080
path: ".."
8181
relative: true
8282
source: path
83-
version: "1.0.0-dev.9"
83+
version: "1.0.0"
8484
image:
8585
dependency: transitive
8686
description:

lib/components/badge/gf_badge.dart

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -98,22 +98,22 @@ class _GFBadgeState extends State<GFBadge> {
9898
borderRadius: BorderRadius.circular(5.0), side: shapeBorder);
9999
}
100100

101-
if (this.size == GFSize.small) {
102-
this.height = GFSizesClass.getGFSize(this.size) * 0.56;
103-
this.width = GFSizesClass.getGFSize(this.size) * 0.73;
104-
this.fontSize = GFSizesClass.getGFSize(this.size) * 0.31;
105-
} else if (this.size == GFSize.medium) {
106-
this.height = GFSizesClass.getGFSize(this.size) * 0.58;
107-
this.width = GFSizesClass.getGFSize(this.size) * 0.76;
108-
this.fontSize = GFSizesClass.getGFSize(this.size) * 0.34;
109-
} else if (this.size == GFSize.large) {
110-
this.height = GFSizesClass.getGFSize(this.size) * 0.6;
111-
this.width = GFSizesClass.getGFSize(this.size) * 0.79;
112-
this.fontSize = GFSizesClass.getGFSize(this.size) * 0.37;
101+
if (widget.size == GFSize.small) {
102+
this.height = this.size * 0.56;
103+
this.width = this.size * 0.73;
104+
this.fontSize = this.size * 0.31;
105+
} else if (widget.size == GFSize.medium) {
106+
this.height = this.size * 0.58;
107+
this.width = this.size * 0.76;
108+
this.fontSize = this.size * 0.34;
109+
} else if (widget.size == GFSize.large) {
110+
this.height = this.size * 0.6;
111+
this.width = this.size * 0.79;
112+
this.fontSize = this.size * 0.37;
113113
} else {
114-
this.height = GFSizesClass.getGFSize(this.size) * 0.58;
115-
this.width = GFSizesClass.getGFSize(this.size) * 0.76;
116-
this.fontSize = GFSizesClass.getGFSize(this.size) * 0.34;
114+
this.height = this.size * 0.58;
115+
this.width = this.size * 0.76;
116+
this.fontSize = this.size * 0.34;
117117
}
118118

119119
return Container(

lib/components/badge/gf_icon_badge.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import 'package:flutter/material.dart';
22
import 'package:getflutter/components/button/gf_icon_button.dart';
3-
import 'package:getflutter/getflutter.dart';
43

54
class GFIconBadge extends StatefulWidget {
65
/// child of type [Widget] is used to show icon.

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: getflutter
22
description: GetFlutter is open source libraries that come with pre-build 1000+ UI components. It makes development faster & more enjoyable. You can customize the component as per your need.
3-
version: 1.0.0-dev.9
3+
version: 1.0.0
44
#author: GetFlutter <[email protected]>
55
homepage: https://github.com/ionicfirebaseapp/getflutter
66

0 commit comments

Comments
 (0)