Skip to content

Commit 7de43bb

Browse files
committed
Change ios icons
1 parent 8f5cbec commit 7de43bb

File tree

20 files changed

+14
-14
lines changed

20 files changed

+14
-14
lines changed
5.69 KB
Loading

lib/src/widgets/link_preview_widget.dart

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -232,24 +232,24 @@ class LinkPreviewWidget extends StatelessWidget {
232232
],
233233
),
234234
Positioned(
235-
child: ClipOval(
236-
child: Material(
237-
color: primaryLightColor, // button color
238-
child: InkWell(
239-
splashColor: secondaryTextColor, // inkwell color
240-
child: SizedBox(width: 25, height: 25, child:Icon(
241-
MdiIcons.plus,
242-
color: Colors.white,
243-
)),
244-
onTap: () {
235+
child: ButtonTheme(
236+
minWidth: 0.5,
237+
height: 0.5,
238+
child: MaterialButton(
239+
onPressed: () {
245240
UpdateCategoryWidget update = new UpdateCategoryWidget();
246241
update.updateCategory(context, id, category);
247242
},
248-
),
249-
),
243+
elevation: 1,
244+
color: primaryLightColor,
245+
child: Icon(
246+
MdiIcons.plus,
247+
color: Colors.white,
248+
),
249+
shape: CircleBorder()),
250250
),
251-
bottom: 5,
252-
right: 8,
251+
bottom: -4,
252+
right: -8,
253253
)
254254
],
255255
),
20.5 KB
Loading
653 Bytes
Loading
782 Bytes
Loading
510 Bytes
Loading
9 Bytes
Loading
1.67 KB
Loading
5.69 KB
Loading
1.24 KB
Loading

0 commit comments

Comments
 (0)