v8.1.0dropdown_search
검색, 팝업 플랫폼, 비동기/동기 등 다양한 기능을 갖춘 간단하고 반응성 있으며 매우 사용자 정의 가능한 Flutter 드롭다운. 메뉴, 다이얼로그, 바텀시트 등의 여러 모드를 지원합니다.
농부와 기업을 연결하여 농민이 직접 구매자에게 작물을 판매할 수 있도록 합니다
아래는 영문 원문 스냅샷입니다. 최신 내용은 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.
검색, 팝업 플랫폼, 비동기/동기 등 다양한 기능을 갖춘 간단하고 반응성 있으며 매우 사용자 정의 가능한 Flutter 드롭다운. 메뉴, 다이얼로그, 바텀시트 등의 여러 모드를 지원합니다.
간편한 지오코딩 및 리버스 지오코딩 기능을 제공하는 플러터 지오코딩 플러그인입니다.
이 패키지는 아름다운 날씨 애니메이션을 포함하고 있습니다. 날씨 구성 도구로 쉽게 설정하세요!
DropdownButton, TextFormField 및 Autocomplete 기능을 확장하는 사용자 정의 가능한 DropdownSearchField입니다.
커스텀 아이콘, 반 아이콘, 방향, 정렬 등과 같은 기능을 지원하는 플러터용 커스텀 레이팅 바.
의존성 목록 16 개
{"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사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗
v1.2.0
v1.3.0+1
v3.0.0