Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • android/org.benoitharrault.scrobbles
1 result
Show changes
Commits on Source (2)
org.gradle.jvmargs=-Xmx1536M org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true android.useAndroidX=true
android.enableJetifier=true android.enableJetifier=true
app.versionName=0.0.47 app.versionName=0.0.48
app.versionCode=47 app.versionCode=48
Improve navigation bar.
Amélioration de la barre de navigation.
...@@ -36,6 +36,7 @@ class _SkeletonScreenState extends State<SkeletonScreen> { ...@@ -36,6 +36,7 @@ class _SkeletonScreenState extends State<SkeletonScreen> {
return pageNavigation.elementAt(index); return pageNavigation.elementAt(index);
}, },
pagination: SwiperPagination( pagination: SwiperPagination(
margin: const EdgeInsets.all(0),
builder: SwiperCustomPagination( builder: SwiperCustomPagination(
builder: (BuildContext context, SwiperPluginConfig config) { builder: (BuildContext context, SwiperPluginConfig config) {
return BottomNavBar(swipeController: config.controller); return BottomNavBar(swipeController: config.controller);
......
...@@ -14,20 +14,11 @@ class BottomNavBar extends StatelessWidget { ...@@ -14,20 +14,11 @@ class BottomNavBar extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Card( return Card(
margin: const EdgeInsets.only( margin: const EdgeInsets.all(0),
top: 1,
right: 0,
left: 0,
),
elevation: 4, elevation: 4,
shadowColor: Theme.of(context).colorScheme.shadow, shadowColor: Theme.of(context).colorScheme.shadow,
color: Theme.of(context).colorScheme.surfaceVariant, color: Theme.of(context).colorScheme.surfaceVariant,
shape: const RoundedRectangleBorder( shape: const ContinuousRectangleBorder(),
borderRadius: BorderRadius.only(
topLeft: Radius.circular(16),
topRight: Radius.circular(16),
),
),
child: BlocBuilder<BottomNavCubit, int>( child: BlocBuilder<BottomNavCubit, int>(
builder: (BuildContext context, int state) { builder: (BuildContext context, int state) {
return BottomNavigationBar( return BottomNavigationBar(
......
...@@ -3,7 +3,7 @@ description: Display scrobbles data and charts ...@@ -3,7 +3,7 @@ description: Display scrobbles data and charts
publish_to: 'none' publish_to: 'none'
version: 0.0.47+47 version: 0.0.48+48
environment: environment:
sdk: '^3.0.0' sdk: '^3.0.0'
......