tab menu color
This commit is contained in:
@@ -222,7 +222,6 @@ class _HomeScreenState extends State<HomeScreen> {
|
||||
),
|
||||
SizedBox(height: 10),
|
||||
setHomeImage("assets/images/luffy.png", 300),
|
||||
// Image.asset("images/luffy.png", width: 300),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:furibase/components/bottom_navbar.dart';
|
||||
import 'package:furibase/components/buildcard_info.dart';
|
||||
import 'package:furibase/components/curve_bottom_border_tab.dart';
|
||||
import 'package:furibase/components/main_menu.dart';
|
||||
import 'package:furibase/components/scan_button.dart';
|
||||
import 'package:furibase/components/tab_menu.dart';
|
||||
@@ -128,20 +129,20 @@ class _KoleksiScreenState extends State<KoleksiScreen> {
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceAround,
|
||||
children: [
|
||||
TabMenuButton(
|
||||
CurvedBottomBorderTab(
|
||||
label: "Karakter",
|
||||
isSelected: _selectedIndex == 0,
|
||||
onPress: () => _onMenuTapped(0),
|
||||
tap: () => _onMenuTapped(0),
|
||||
),
|
||||
TabMenuButton(
|
||||
CurvedBottomBorderTab(
|
||||
label: "Skin",
|
||||
isSelected: _selectedIndex == 1,
|
||||
onPress: () => _onMenuTapped(1),
|
||||
tap: () => _onMenuTapped(1),
|
||||
),
|
||||
TabMenuButton(
|
||||
CurvedBottomBorderTab(
|
||||
label: "Fragment",
|
||||
isSelected: _selectedIndex == 2,
|
||||
onPress: () => _onMenuTapped(2),
|
||||
tap: () => _onMenuTapped(2),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
@@ -53,15 +53,14 @@ class _AkunSayaState extends State<AkunSaya> {
|
||||
title: Text("Saya"),
|
||||
backgroundColor: Color.fromARGB(225, 79, 76, 182),
|
||||
),
|
||||
resizeToAvoidBottomInset: false,
|
||||
backgroundColor: const Color.fromARGB(255, 255, 255, 255),
|
||||
body: Stack(
|
||||
children: [
|
||||
Positioned(
|
||||
bottom: 0,
|
||||
left: 0,
|
||||
right: 0,
|
||||
Align(
|
||||
alignment: Alignment.bottomCenter,
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.only(top: 20.0, left: 20, right: 20),
|
||||
padding: const EdgeInsets.only(top: 0.0, left: 20, right: 20),
|
||||
child: Container(
|
||||
height: MediaQuery.of(context).size.height * 0.7,
|
||||
width: MediaQuery.of(context).size.width,
|
||||
@@ -90,7 +89,7 @@ class _AkunSayaState extends State<AkunSaya> {
|
||||
),
|
||||
),
|
||||
),
|
||||
SizedBox(height: 40),
|
||||
SizedBox(height: 70),
|
||||
Expanded(
|
||||
child: Padding(
|
||||
padding: EdgeInsets.all(20),
|
||||
|
||||
Reference in New Issue
Block a user