-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Error: The getter 'title' isn't defined for the class 'BottomNavigationBarItem'.
../…/lib/gradient_bottom_navigation_bar.dart:136
- 'BottomNavigationBarItem' is from 'package:flutter/src/widgets/bottom_navigation_bar_item.dart' ('../../../Documents/flutter/packages/flutter/lib/src/widgets/bottom_navigation_bar_item.dart').
package:flutter/…/widgets/bottom_navigation_bar_item.dart:1
Try correcting the name to the name of an existing getter, or defining a getter or field named 'title'.
items.every((BottomNavigationBarItem item) => item.title != null) ==
: Error: The getter 'title' isn't defined for the class 'BottomNavigationBarItem'.
../…/lib/gradient_bottom_navigation_bar.dart:274
- 'BottomNavigationBarItem' is from 'package:flutter/src/widgets/bottom_navigation_bar_item.dart' ('../../../Documents/flutter/packages/flutter/lib/src/widgets/bottom_navigation_bar_item.dart').
package:flutter/…/widgets/bottom_navigation_bar_item.dart:1
Try correcting the name to the name of an existing getter, or defining a getter or field named 'title'.
child: item.title,
^^^^^
: Error: The getter 'title' isn't defined for the class 'BottomNavigationBarItem'.
../…/lib/gradient_bottom_navigation_bar.dart:304
- 'BottomNavigationBarItem' is from 'package:flutter/src/widgets/bottom_navigation_bar_item.dart' ('../../../Documents/flutter/packages/flutter/lib/src/widgets/bottom_navigation_bar_item.dart').
package:flutter/…/widgets/bottom_navigation_bar_item.dart:1
Try correcting the name to the name of an existing getter, or defining a getter or field named 'title'.
child: item.title,
^^^^^
Flutter Doctor Logs:
flutter doctor -v
[✓] Flutter (Channel master, 2.6.0-12.0.pre.847, on macOS 11.6 20G165 darwin-x64, locale en-IN)
• Flutter version 2.6.0-12.0.pre.847 at /Users/apple/Documents/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 8b1cf766e7 (10 days ago), 2021-11-28 10:47:02 -0500
• Engine revision 4536092a7f
• Dart version 2.16.0 (build 2.16.0-55.0.dev)
• DevTools version 2.8.0
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/apple/Library/Android/sdk
✗ cmdline-tools component is missing
Run `path/to/sdkmanager --install "cmdline-tools;latest"`
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2020.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
[✓] VS Code (version 1.62.3)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.29.0
[✓] Connected device (2 available)
• Android SDK built for x86 (mobile) • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)
• Chrome (web) • chrome • web-javascript • Google Chrome 96.0.4664.93
! Doctor found issues in 1 category.
yeasin50
Metadata
Metadata
Assignees
Labels
No labels