Skip to content

Commit

Permalink
Merge pull request #34 from amin-khademi/fix/longTitle
Browse files Browse the repository at this point in the history
make items to accept long text
  • Loading branch information
MarsadMaqsood authored Aug 7, 2024
2 parents 6848489 + 3d71858 commit fb65f12
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"java.configuration.updateBuildConfiguration": "interactive"
}
4 changes: 3 additions & 1 deletion example/android/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ pluginManagement {
}

plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"

id "com.android.application" version "7.3.0" apply false
id "org.jetbrains.kotlin.android" version "1.7.10" apply false
}

include ":app"

apply from: "${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle/app_plugin_loader.gradle"
2 changes: 1 addition & 1 deletion example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ class _BubbelBarExampleState extends State<BubbelBarExample> {
),
BottomBarItem(
icon: const Icon(Icons.safety_divider),
title: const Text('Safety'),
title: const Text('Safety Divider'),
selectedColor: Colors.orange,
backgroundColor: Colors.orange,
),
Expand Down
2 changes: 1 addition & 1 deletion lib/src/bubble_nav_bar/bubble_navigation_tile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class BubbleNavigationTile extends StatelessWidget {
? MainAxisAlignment.spaceEvenly
: MainAxisAlignment.center,
children: items(label).map((child) {
return selected ? Expanded(child: child) : child;
return selected ? child : child;
}).toList(),
)
: Column(
Expand Down

0 comments on commit fb65f12

Please sign in to comment.