Skip to content

Commit e5d976c

Browse files
committed
transparent button problem fixed
1 parent 83207a0 commit e5d976c

3 files changed

Lines changed: 743 additions & 116 deletions

File tree

example/lib/main.dart

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,16 @@ class _MyHomePageState extends State<MyHomePage> {
135135
// },
136136
// ),
137137

138+
RawMaterialButton(onPressed: null, child: Text("fv"),),
139+
FlatButton(onPressed: null, child: Text("cds")),
140+
141+
138142
GFButton(
143+
color: Colors.orange,
139144
onPressed: null,
140145
child: Text("share"),
141-
icon: Icon(Icons.share),
142-
// shape: GFShape.pills,
143-
// type: GFType.transparent,
146+
type: GFType.outline,
147+
shape: GFShape.standard,
144148
),
145149
//
146150
// GFTabs(

lib/components/badge/gf_button_badge.dart

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -101,17 +101,18 @@ class _GFButtonBadgeState extends State<GFButtonBadge> {
101101
height: this.size,
102102
child: GFButton(
103103
textStyle: widget.textStyle,
104-
borderSide: widget.borderSide,
105-
color: this.color,
106-
textColor: this.textColor,
107-
text: widget.text,
108-
onPressed: this.onPressed,
109-
type: this.type,
110-
shape: this.shape,
111-
position: this.position,
112-
size: this.size,
113-
borderShape: widget.borderShape,
114-
icon: widget.counterChild),
104+
// borderSide: widget.borderSide,
105+
// color: this.color,
106+
// textColor: this.textColor,
107+
// text: widget.text,
108+
// onPressed: this.onPressed,
109+
// type: this.type,
110+
// shape: this.shape,
111+
// position: this.position,
112+
// size: this.size,
113+
// borderShape: widget.borderShape,
114+
// icon: widget.counterChild
115+
),
115116
),
116117
);
117118
}

0 commit comments

Comments
 (0)