Skip to content
Snippets Groups Projects
Commit 9810a1ce authored by Benoît Harrault's avatar Benoît Harrault
Browse files

Improve navigation bar

parent 545a171a
No related branches found
No related tags found
1 merge request!49Resolve "Improve navigation bar"
Pipeline #4735 passed
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
app.versionName=0.0.47
app.versionCode=47
app.versionName=0.0.48
app.versionCode=48
Improve navigation bar.
Amélioration de la barre de navigation.
......@@ -36,6 +36,7 @@ class _SkeletonScreenState extends State<SkeletonScreen> {
return pageNavigation.elementAt(index);
},
pagination: SwiperPagination(
margin: const EdgeInsets.all(0),
builder: SwiperCustomPagination(
builder: (BuildContext context, SwiperPluginConfig config) {
return BottomNavBar(swipeController: config.controller);
......
......@@ -14,20 +14,11 @@ class BottomNavBar extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Card(
margin: const EdgeInsets.only(
top: 1,
right: 0,
left: 0,
),
margin: const EdgeInsets.all(0),
elevation: 4,
shadowColor: Theme.of(context).colorScheme.shadow,
color: Theme.of(context).colorScheme.surfaceVariant,
shape: const RoundedRectangleBorder(
borderRadius: BorderRadius.only(
topLeft: Radius.circular(16),
topRight: Radius.circular(16),
),
),
shape: const ContinuousRectangleBorder(),
child: BlocBuilder<BottomNavCubit, int>(
builder: (BuildContext context, int state) {
return BottomNavigationBar(
......
......@@ -3,7 +3,7 @@ description: Display scrobbles data and charts
publish_to: 'none'
version: 0.0.47+47
version: 0.0.48+48
environment:
sdk: '^3.0.0'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment