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
28 changes: 9 additions & 19 deletions demo_app/lib/screens/badges.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import 'package:ui_kit/components/button/gf_icon_button.dart';
import 'package:ui_kit/position/gf_position.dart';
import 'package:ui_kit/shape/gf_badge_shape.dart';
import 'package:ui_kit/shape/gf_button_shape.dart';
import 'package:ui_kit/shape/gf_icon_button_shape.dart';
import 'package:ui_kit/size/gf_size.dart';
import 'package:ui_kit/types/gf_typography_type.dart';
import 'package:ui_kit/types/gf_type.dart';
Expand Down Expand Up @@ -562,9 +563,8 @@ class _BadgesState extends State<Badges> {
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: <Widget>[
GFIconBadge(
onPressed: null,
child: GFIconButton(
shape: GFButtonShape.pills,
shape: GFIconButtonShape.pills,
color: GFColor.success,
type: GFType.solid,
onPressed: null,
Expand All @@ -576,9 +576,8 @@ class _BadgesState extends State<Badges> {
size: GFSize.small,
)),
GFIconBadge(
onPressed: null,
child: GFIconButton(
shape: GFButtonShape.square,
shape: GFIconButtonShape.square,
color: GFColor.primary,
type: GFType.solid,
onPressed: null,
Expand All @@ -590,9 +589,8 @@ class _BadgesState extends State<Badges> {
size: GFSize.small,
)),
GFIconBadge(
onPressed: null,
child: GFIconButton(
shape: GFButtonShape.pills,
shape: GFIconButtonShape.pills,
color: GFColor.danger,
type: GFType.solid,
onPressed: null,
Expand All @@ -604,9 +602,8 @@ class _BadgesState extends State<Badges> {
size: GFSize.small,
)),
GFIconBadge(
onPressed: null,
child: GFIconButton(
shape: GFButtonShape.standard,
shape: GFIconButtonShape.standard,
type: GFType.solid,
color: GFColor.warning,
onPressed: null,
Expand Down Expand Up @@ -636,9 +633,8 @@ class _BadgesState extends State<Badges> {
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: <Widget>[
GFIconBadge(
onPressed: null,
child: GFIconButton(
shape: GFButtonShape.pills,
shape: GFIconButtonShape.pills,
onPressed: null,
icon: Icon(Icons.mail),
),
Expand All @@ -648,9 +644,8 @@ class _BadgesState extends State<Badges> {
size: GFSize.small,
)),
GFIconBadge(
onPressed: null,
child: GFIconButton(
shape: GFButtonShape.square,
shape: GFIconButtonShape.square,
onPressed: null,
icon: Icon(Icons.mail),
),
Expand All @@ -661,9 +656,8 @@ class _BadgesState extends State<Badges> {
size: GFSize.small,
)),
GFIconBadge(
onPressed: null,
child: GFIconButton(
shape: GFButtonShape.pills,
shape: GFIconButtonShape.pills,
onPressed: null,
icon: Icon(Icons.mail),
),
Expand All @@ -673,9 +667,8 @@ class _BadgesState extends State<Badges> {
size: GFSize.small,
)),
GFIconBadge(
onPressed: null,
child: GFIconButton(
shape: GFButtonShape.standard,
shape: GFIconButtonShape.standard,
onPressed: null,
icon: Icon(Icons.mail),
),
Expand Down Expand Up @@ -704,7 +697,6 @@ class _BadgesState extends State<Badges> {
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: <Widget>[
GFIconBadge(
onPressed: null,
child: GFIconButton(
size: GFSize.large,
onPressed: null,
Expand All @@ -716,7 +708,6 @@ class _BadgesState extends State<Badges> {
size: GFSize.small,
)),
GFIconBadge(
onPressed: null,
child: GFIconButton(
size: GFSize.medium,
onPressed: null,
Expand All @@ -728,7 +719,6 @@ class _BadgesState extends State<Badges> {
size: GFSize.small,
)),
GFIconBadge(
onPressed: null,
child: GFIconButton(
size: GFSize.small,
onPressed: null,
Expand Down
6 changes: 3 additions & 3 deletions demo_app/lib/screens/toasts.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'package:flutter/material.dart';
import 'package:ui_kit/colors/gf_color.dart';
import 'package:ui_kit/components/button/gf_button.dart';
import 'package:ui_kit/components/card/gf_card.dart';
import 'package:ui_kit/components/header/gf_typography.dart';
import 'package:ui_kit/components/typography/gf_typography.dart';
import 'package:ui_kit/components/toast/gf_toast.dart';
import 'package:ui_kit/types/gf_typography_type.dart';
import 'package:ui_kit/types/gf_type.dart';
Expand All @@ -29,9 +29,9 @@ class _ToastsState extends State<Toasts> {
GFCard(
content: Column(
children: <Widget>[
GFHeader(
GFTypography(
text: 'Toast',
type: GFHeadingType.typo6,
type: GFTypographyType.typo6,
),
SizedBox(
height: 10,
Expand Down
Loading