v8.1.0dropdown_search
एक सरल, प्रतिक्रियाशील और बहुत कस्टमाइज़ेबल फ्लटर ड्रॉपडाउन जिसमें बहुत सारे फीचर्स (खोज, पॉपअप प्लेटफॉर्म, एसिंक/सिंक,...) हैं और मल्टी मोड के साथ जैसे मेनू, डायलॉग, बॉटमशीट आदि।
किसानों को व्यवसायों से जोड़ता है, जिससे उन्हें खरीदारों को सीधे फसलें बेचने की अनुमति मिलती है
v8.1.0एक सरल, प्रतिक्रियाशील और बहुत कस्टमाइज़ेबल फ्लटर ड्रॉपडाउन जिसमें बहुत सारे फीचर्स (खोज, पॉपअप प्लेटफॉर्म, एसिंक/सिंक,...) हैं और मल्टी मोड के साथ जैसे मेनू, डायलॉग, बॉटमशीट आदि।
एक फ्लटर जियोकोडिंग प्लगइन जो आसान भू-स्थानीयकरण और विपरीत भू-स्थानीयकरण सुविधाएं प्रदान करता है।
v1.2.0पैकेज में सुंदर मौसम एनीमेशन हैं। मौसम कॉन्फ़िगरेटर के साथ आसान सेटअप!
v1.3.0+1कस्टमाइज़ किए गए DropdownSearchField, DropdownButton, TextFormField और Autocomplete की सुविधाओं को विस्तारित करता है।
v3.0.0फ्लटर के लिए कस्टम रेटिंग बार, कस्टम आइकॉन, आधा आइकॉन, दिशाओं, एलाइनमेंट और अधिक का समर्थन करता है।
{"sdk":"flutter"}^1.0.8^3.11.0^5.4.2^5.6.3^3.0.0^1.1.2+2^2.0.0^0.18.0^1.3.0^9.0.1^3.0.0^1.1.1^0.14.3{"sdk":"flutter"}^4.0.0यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
Farm Mate is a Flutter-based mobile app designed to connect farmers with businesses, enabling them to sell crops directly to buyers. Below is a breakdown of the various components and features used in the app:
Flutter is the primary framework used for building the app. It provides a fast and efficient way to develop natively compiled applications for mobile, web, and desktop from a single codebase.
Firebase is used for backend services in Farm Mate. It provides real-time databases, authentication, cloud storage, and other services that make it easier to develop the app.
The app leverages location-based features to connect farmers and businesses based on proximity.
Farm Mate integrates real-time weather updates to help farmers check the weather conditions for their area.
The Farmer Dashboard provides farmers with a comprehensive interface to manage their crops. Farmers can:
The Buyer Dashboard is designed for businesses (buyers) to browse available crops. Buyers can:
The app uses Firebase Authentication to securely manage user logins. Both farmers and businesses can:
The app uses the Geolocator and Geocoding packages to provide:
Ensure you have the following installed:
git clone https://github.com/yourusername/farmmate.git
cd farmmate
flutter pub get
lib/ApiKey.dart and replace the placeholder:const String apiKey = 'YOUR_API_KEY_HERE';
The Farm Mate app uses Firebase for:
dependencies:
firebase_auth: ^3.3.4
import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialized();
await Firebase.initializeApp();
runApp(MyApp());
}
Future<User?> signUp(String email, String password) async {
try {
UserCredential userCredential = await FirebaseAuth.instance
.createUserWithEmailAndPassword(email: email, password: password);
return userCredential.user;
} catch (e) {
print("Error: $e");
return null;
}
}
Future<User?> signIn(String email, String password) async {
try {
UserCredential userCredential = await FirebaseAuth.instance
.signInWithEmailAndPassword(email: email, password: password);
return userCredential.user;
} catch (e) {
print("Error: $e");
return null;
}
}
farmers, buyers, crops.dependencies:
cloud_firestore: ^3.1.5
FirebaseFirestore firestore = FirebaseFirestore.instance;
Future<void> addUserData(String userId, String collection, Map<String, dynamic> data) async {
try {
await firestore.collection(collection).doc(userId).set(data);
} catch (e) {
print("Error: $e");
}
}
Future<void> addCropData(String cropId, Map<String, dynamic> cropData) async {
try {
await firestore.collection('crops').doc(cropId).set(cropData);
} catch (e) {
print("Error: $e");
}
}
Future<QuerySnapshot> getCrops() async {
return await firestore.collection('crops').get();
}
git checkout -b feature-branch).git commit -m 'Add new feature').git push origin feature-branch).This project is licensed under the MIT License.
For queries or collaborations, contact amoghreddykb1@gmail.com.