Sfoglia il codice sorgente

Change color of the album create button

Vishnu Mohandas 4 anni fa
parent
commit
86a85f7c1a
1 ha cambiato i file con 10 aggiunte e 3 eliminazioni
  1. 10 3
      lib/ui/collections_gallery_widget.dart

+ 10 - 3
lib/ui/collections_gallery_widget.dart

@@ -281,12 +281,19 @@ class _CollectionsGalleryWidgetState extends State<CollectionsGalleryWidget>
     } else {
       return Container(
         padding: EdgeInsets.fromLTRB(28, 12, 28, 46),
-        child: OutlineButton(
-          shape: RoundedRectangleBorder(
-            borderRadius: BorderRadius.circular(18.0),
+        child: OutlinedButton(
+          style: OutlinedButton.styleFrom(
+            shape: RoundedRectangleBorder(
+              borderRadius: BorderRadius.circular(18.0),
+            ),
+            side: BorderSide(
+              width: 1,
+              color: Theme.of(context).accentColor.withOpacity(0.4),
+            ),
           ),
           child: Icon(
             Icons.add,
+            color: Theme.of(context).accentColor.withOpacity(0.7),
           ),
           onPressed: () async {
             await showToast(