aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/page_home.dart12
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/page_home.dart b/lib/page_home.dart
index ede3e36..fe35025 100644
--- a/lib/page_home.dart
+++ b/lib/page_home.dart
@@ -24,21 +24,23 @@ class HomePage extends StatelessWidget {
Widget createItem(BuildContext context, IconData icon, int tabPosition) {
final double size = MediaQuery.of(context).size.width / 6;
+ final double padding = size / 4;
+ final double border = padding / 4;
return Padding(
padding: const EdgeInsets.symmetric(vertical: 8.0),
- child: ElevatedButton(
- style: ElevatedButton.styleFrom(
+ child: OutlinedButton(
+ style: OutlinedButton.styleFrom(
shape: CircleBorder(),
- padding: EdgeInsets.all(size / 4),
+ padding: EdgeInsets.all(padding),
primary: Colors.blue,
- onPrimary: Colors.red,
+ side: BorderSide(width: border, color: Colors.lightBlue.shade50)
),
onPressed: () {
onSetNavigationIndex(tabPosition);
},
child: Icon(
icon,
- color: Colors.white,
+ color: Colors.blue,
size: size / 2,
),
),