Skip to content
Merged
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
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,33 @@
# Changelog


## 1.0.0 - 2020-01-20

### Added
* Stable version release
* code refectoring
* this release includes following stable components
- GFAvatar
- GFButton
- GFIconButton
- GFButtonBar
- GFBadge
- GFButtonBadge
- GFIconBadge
- GFCard
- GFCarousel
- GFImageOverlay
- GFListTile
- GFTabs
- GFTypography


## 1.0.0-dev.9 - 2020-01-17

### Added
* Added library exports for commonly used files.


## 1.0.0-dev.8 - 2020-01-16

### Fixed
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[![pub package](https://img.shields.io/pub/v/getflutter.svg)](https://pub.dartlang.org/packages/getflutter)


<p align="center">
<a href="https://www.getflutter.dev/" target="_blank">
<img src="https://ik.imagekit.io/ionicfirebaseapp/tr:w-auto-300/gf-logo-g-b_SYSBeqUrR.png" alt="Get Flutter">
Expand Down
2 changes: 1 addition & 1 deletion example/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
FlutterApplication and put your custom class here. -->
<application
android:name="io.flutter.app.FlutterApplication"
android:label="getflutter_example"
android:label="GetFlutter"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
Expand Down
Binary file modified example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions example/android/app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="splash_color">#19CA4B</color>
</resources>
23 changes: 23 additions & 0 deletions example/ios/Runner/Assets.xcassets/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "LaunchImage.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "[email protected]",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "[email protected]",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file added example/ios/Runner/Assets.xcassets/LaunchImage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions example/ios/Runner/Assets.xcassets/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Launch Screen Assets

You can customize the launch screen with your own desired assets by replacing the image files in this directory.

You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
2 changes: 1 addition & 1 deletion example/ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>getflutter_example</string>
<string>GetFlutter</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
Expand Down
49 changes: 31 additions & 18 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import 'package:getflutter/components/badge/gf_badge.dart';
// import 'package:getflutter/components/list/gf_list.dart';
import 'package:getflutter/components/tabs/gf_segment_tabs.dart';
import 'package:getflutter/size/gf_size.dart';
import 'package:getflutter/types/gf_type.dart';
import 'package:getflutter/types/gf_button_type.dart';
import 'package:getflutter/shape/gf_button_shape.dart';
import 'package:getflutter/shape/gf_badge_shape.dart';
import 'package:flutter/cupertino.dart';
Expand Down Expand Up @@ -181,7 +181,20 @@ class _MyHomePageState extends State<MyHomePage>
type: GFTypographyType.typo6,
),
SizedBox(
height: 10,
height: 20,
),
GFButtonBar(
children: <Widget>[
GFButton(),
GFButton(),
GFButton(),
GFButton(),
GFButton(),
GFButton(),
],
),
SizedBox(
height: 20,
),
GFToast(
text: 'Happy New Year',
Expand All @@ -190,7 +203,7 @@ class _MyHomePageState extends State<MyHomePage>
print("dfr");
},
text: 'OK',
type: GFType.outline,
type: GFButtonType.outline,
color: GFColor.warning,
),
),
Expand All @@ -216,7 +229,7 @@ class _MyHomePageState extends State<MyHomePage>
print("df");
},
text: 'OK',
type: GFType.outline,
type: GFButtonType.outline,
color: GFColor.warning,
),
)
Expand All @@ -233,7 +246,7 @@ class _MyHomePageState extends State<MyHomePage>
});
},
text: 'Click to View the toast',
type: GFType.outline,
type: GFButtonType.outline,
color: GFColor.warning,
),
)
Expand Down Expand Up @@ -492,7 +505,7 @@ class _MyHomePageState extends State<MyHomePage>
// showDivider: false,
// icon: GFIconButton(
// onPressed: null,
// type: GFType.transparent,
// type: GFButtonType.transparent,
// icon: Icon(Icons.favorite_border),
// ),
// ),
Expand Down Expand Up @@ -562,7 +575,7 @@ class _MyHomePageState extends State<MyHomePage>
//// color: GFColor.success,
//// textColor: GFColor.dark,
//// shape: GFButtonShape.pills,
//// type: GFType.outline2x,
//// type: GFButtonType.outline2x,
//// size: GFSize.small,
// icon: GFBadge(
// child: Text("12"),
Expand All @@ -588,7 +601,7 @@ class _MyHomePageState extends State<MyHomePage>
////// textColor: GFColor.white,
////// textStyle: TextStyle(fontWeight: FontWeight.w500, fontSize: 8.0),
//// ),
// type: GFType.outline2x,
// type: GFButtonType.outline2x,
// shape: GFButtonShape.pills,
//// blockButton: true,
// fullWidthButton: true,
Expand All @@ -612,7 +625,7 @@ class _MyHomePageState extends State<MyHomePage>
// hoverColor: GFColor.dark,
color: GFColor.secondary,
// focusColor: GFColor.danger,
type: GFType.solid,
type: GFButtonType.solid,
shape: GFButtonShape.pills,
buttonBoxShadow: true,
// boxShadow: BoxShadow(
Expand All @@ -636,7 +649,7 @@ class _MyHomePageState extends State<MyHomePage>
// onPressed: null,
// icon: Icon(Icons.ac_unit,),
//// iconSize: 12.0,
// type: GFType.solid,
// type: GFButtonType.solid,
//// shape: GFButtonShape.pills,
//// size: GFSize.large,
// buttonBoxShadow: true,
Expand Down Expand Up @@ -824,7 +837,7 @@ class _MyHomePageState extends State<MyHomePage>
// icon: GFIconButton(
// onPressed: null,
// icon: Icon(Icons.favorite_border),
// type: GFType.transparent,
// type: GFButtonType.transparent,
// ),
// ),
// content: Text(
Expand All @@ -839,13 +852,13 @@ class _MyHomePageState extends State<MyHomePage>
//// onPressed: null,
//// child: Text("favorite"),
//// icon: Icon(Icons.favorite_border),
//// type: GFType.transparent,
//// type: GFButtonType.transparent,
//// ),
//// GFButton(
//// onPressed: null,
//// child: Text("share"),
//// icon: Icon(Icons.share),
//// type: GFType.outline,
//// type: GFButtonType.outline,
//// ),
//// ],
//// ),
Expand All @@ -858,7 +871,7 @@ class _MyHomePageState extends State<MyHomePage>
// onPressed: null,
// child: Text("like"),
// icon: Icon(Icons.favorite_border),
// type: GFType.transparent,
// type: GFButtonType.transparent,
// ),
// GFButton(
// onPressed: null,
Expand All @@ -869,7 +882,7 @@ class _MyHomePageState extends State<MyHomePage>
// onPressed: (){},
// child: Text("share"),
// icon: Icon(Icons.share),
// type: GFType.outline,
// type: GFButtonType.outline,
// ),
// ],
// ),
Expand All @@ -883,7 +896,7 @@ class _MyHomePageState extends State<MyHomePage>
// subTitle: Text('subtitle'),
// icon: GFIconButton(
// onPressed: null,
// type: GFType.transparent,
// type: GFButtonType.transparent,
// icon: Icon(Icons.favorite_border),
// ),
// ),
Expand Down Expand Up @@ -1021,7 +1034,7 @@ class _MyHomePageState extends State<MyHomePage>
// onPressed: (){},
// icon: Icon(Icons.ac_unit),
//// iconSize: 12.0,
//// type: GFType.solid,
//// type: GFButtonType.solid,
//// shape: GFIconButtonShape.pills,
//// size: GFSize.large,
//// buttonBoxShadow: true,
Expand All @@ -1047,7 +1060,7 @@ class _MyHomePageState extends State<MyHomePage>
// ),
//
// GFButton(
// type: GFType.outline,
// type: GFButtonType.outline,
// shape: GFButtonShape.pills,
// text: 'goodies',
// icon: Icon(Icons.share),
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ packages:
path: ".."
relative: true
source: path
version: "1.0.0-dev.8"
version: "1.0.0"
image:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: example
description: A new Flutter project.
description: GetFlutter Demo app

version: 1.0.0+1

Expand Down
Loading