Flutter: Putting ListView.builder inside another ListView

Flutter: Putting ListView.builder inside another ListView

No doubt ListView is one of the most used Container Widget in any Mobile Application as it gives us a seamless scrolling effect and a lot of space to put our content neatly. You are here because you might have received the following error: Vertical viewport was given unbounded height. The relevant error-causing widget was ListView Your code might look like this: ListView( children: [ Container( child: ListView.builder( itemCount: snapshot.data.length, itemBuilder: (context, index) {} ), ), ] ) Now add shrinkWrap: true, physics: ScrollPhysics(), to ListView....

June 23, 2020 · 1 min · Ganesh Bhosale
Integrate Google Maps in Flutter Application

Integrate Google Maps in Flutter Application

if you are facing any of the following errors while integrating Google Maps in Flutter, follow this article. ‘GoogleMaps/GoogleMaps.h’ file not found The ‘Pods-Runner’ target has frameworks with conflicting names: googlemaps.framework. warning: ‘sqlite3_wal_checkpoint_v2’ is only available on iOS 5.0 or newer ld: targeted OS version does not support use of thread local variables in XYZ for architecture x86_64 Steps to Integrate Google Maps in Flutter References: https://developers.google.com/maps/documentation/ios-sdk/start https://developers.google.com/maps/documentation/android-sdk/intro https://codelabs.developers.google.com/codelabs/google-maps-in-flutter Step 1: Import Flutter Library Add google_maps_flutter library to pubspec....

June 19, 2020 · 2 min · Ganesh Bhosale
Best Freebie Flutter UI Templates

Best Freebie Flutter UI Templates

Flutter is now a popular tool for creating UI Designs in no time. Still sometimes you will need an initial push to get going. So presenting here some of the best Freebie UI Templates in Flutter: 1. Best-Flutter-UI-Templates by Mitesh Chodvadiya Mitesh has done a wonderful job in Designing and Developing this Template. This template gives 3 different UI options and very well coded considering in mind user expectations. Download | Author...

June 14, 2020 · 2 min · Ganesh Bhosale
Getting started with Google Flutter on VSCode

Getting started with Google Flutter on VSCode

Flutter is Google’s UI toolkit for crafting beautiful, natively compiled applications for mobile, web, and desktop from a single codebase. Flutter not only enables us to create lavish Mobile apps but it gives whole meaningful Software Architecture to create Platform Independent Mobile Apps. Flutter codes are highly reusable as compared to Android or iOS Codes. All you need is to put the library you want to import and Use the codes directly....

June 11, 2020 · 2 min · Ganesh Bhosale
Warning: CocoaPods not installed [Mac + Flutter + VSCode + XCode + iOS Simulator]

Warning: CocoaPods not installed [Mac + Flutter + VSCode + XCode + iOS Simulator]

When you install New Copy of XCode and try to run your application on iOS Simulator from VSCode. You may see this error: Warning: CocoaPods not installed. Skipping pod install. CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side. Without CocoaPods, plugins will not work on iOS or macOS. For more info, see https://flutter.dev/platform-plugins To install: sudo gem install cocoapods CocoaPods not installed or not in valid state....