Mobile apps · Institutional project

Agri Pocket Areas

Local crop information, organized around two districts.

A Flutter agriculture-reference app for a University of Agriculture, Peshawar project covering onion and tomato pocket areas in Bajaur and Mohmand.

About 6 min read

My role
Mobile application developer
Platform
Flutter · mobile project
Focus
Flutter · Agriculture · Weather API
Agri Pocket Areas app icon, district-selection screens, and Bajaur and Mohmand map illustrations.
AI-composited editorial cover based on the supplied app icon and screenshots. Original captures appear below.

The product and the problem

The University of Agriculture, Peshawar project brings together information about onion and tomato production areas in Bajaur and Mohmand. The app makes crop topics, district information, weather, and local services navigable on a phone.

The challenge was to organize varied reference material into a location-first screen flow. A user chooses a district, then a topic such as Pocket Area, Weather Updates, Crop Status, or Services.

Original product screens

Original screenshots supplied with the agriculture-extension project. Phone screens are shown in full. Select a screen to view the full image.

How the experience works

Start with the place the information applies to

The home screen presents Bajaur and Mohmand alongside a separate Project Details entry. Choosing a district opens its dashboard and establishes the location for the following reference screens and weather request. This gives a person a clear first choice before introducing the full set of agriculture topics. The institutional project remains accessible without competing with every crop detail on the same screen.

Move from a district to a specific crop question

The district dashboard groups Pocket Area, Weather Updates, Crop Status, and Services. Within Pocket Area, the reader chooses Onion, Tomato, or Integrated Pest Management and then opens the relevant topic. Detail pages use expandable sections, illustrations, and tables to organize material such as growing areas, crop descriptions, disorders, diseases, and insects. The interaction turns a large reference collection into a series of smaller choices.

Consult supporting services and current conditions

The product also includes market and production tables, extension-service information, and credit-related reference directories. Current weather is a separate connected feature, using the selected district’s configured location. This combination gives the project one mobile entry point for several information types while preserving the difference between bundled reference material and live conditions.

My contribution

  • Developed the Flutter screen structure, district selection, and reusable information layouts.
  • Implemented Provider-based view state and persisted language preference handling.
  • Bundled crop, market, production, and service reference content with the application.
  • Integrated current-weather requests for the selected district.

Architecture and implementation

Reusable information layouts with shared state

I developed the Flutter screen structure, district selection, reusable cards, and reference layouts. Provider and ChangeNotifier manage shared and screen-level state. The implementation also uses GetIt for service lookup, Flutter ScreenUtil for design-size-based sizing, and bundled visual assets for district, crop, and weather topics.

The key architectural job is consistency across many related information screens. A crop topic, a service table, and a district dashboard present different content, but they should still follow recognizable navigation and layout patterns. Reusable presentation pieces make that hierarchy easier to maintain as the reference collection grows.

Keep the bundled and connected data paths visible

Crop guidance, market lists, production figures, and service information are bundled with the application. The current-weather service uses an HTTP request to OpenWeatherMap. It operates with configured city information for the selected district, without requesting the device’s live location.

These choices have direct maintenance consequences. Most reference screens can read their packaged content independently of a dedicated project backend. A content correction, however, needs an app/source update in this version. Weather has a different lifecycle because its availability depends on a connection, provider response, and valid configuration.

Persist language selection without overstating coverage

The home screen offers English and Urdu locale selection. Shared preferences stores the chosen language code, and GetX applies locale changes. This provides the preference mechanism within the current implementation.

The reference material also documents partial translation coverage: a working switch does not make every crop paragraph and screen bilingual. The case study keeps that distinction visible because full localization would require content translation, native-language review, and right-to-left layout review across the actual reading journeys.

Key engineering decisions

Organize information by district first

Bajaur and Mohmand are the main entry points, keeping the following dashboard relevant to the selected location.

Bundle reference content locally

Most reference information is bundled inside the application. That simplifies reading access, while content updates require an app/source update rather than a dedicated project CMS.

Keep live weather distinct from reference material

Current conditions come from OpenWeatherMap using configured city information. This is not automatic device geolocation or a live crop-market feed.

Challenges and trade-offs

Organize a reference library for phone-sized reading

The source material spans practical crop guidance, district information, project context, markets, and services. Presenting it as one continuous page would make it difficult to reach a specific subject. The implemented card hierarchy and expandable sections instead let the reader narrow the question by location and topic.

Tables and illustrations remain important because some information is comparative or visual. A production-area table and a disease illustration call for different presentation choices, even when they share the same navigation structure. The mobile task is to preserve those distinctions while making each destination predictable.

Treat information maintenance as part of the product

Bundling reference information makes the first version straightforward to distribute, but it also creates a responsibility to review and update that content. Contact details, markets, district figures, and agricultural guidance can change. Their operational usefulness depends on subject-matter review and a maintainable update process.

A future authorized content source could reduce the need for app releases when reference material changes. That is a sensible next stage, while the current case study remains explicit about the bundled implementation. No live market feed or remote project CMS is implied by the existing tables.

Validation and delivery considerations

Check each district and each kind of content

A practical review should cover both district entry points, their dashboards, the crop-topic hierarchy, expandable sections, long tables, and the return path to the district. Weather needs its own connected and unavailable states. Language preference also needs to survive reopening the app.

These are product-specific acceptance priorities. The source notes identify that the existing automated test file is a generated Flutter smoke example, so it cannot substantiate coverage of these real navigation and agriculture flows. The distinction matters when planning a next maintenance or distribution stage.

Review content accuracy with the responsible experts

The application organizes agricultural material; the institution and relevant subject-matter teams remain central to validating it. Crop recommendations, service information, and district figures need review in their real context. The portfolio therefore explains the information architecture and mobile implementation rather than presenting operational advice to farmers.

A further release assessment would include complete Urdu review, accessibility and device-size checks, app-specific automated tests, configuration review, and an agreed update process. These priorities follow from the documented implementation and are kept separate from claims of increased yields, adoption, or farmer income.

What was delivered

A mobile reference implementation with district dashboards, crop and pest topics, production and market tables, service directories, project information, and current weather integration.

Project scope

Context
University of Agriculture, Peshawar project covering Bajaur and Mohmand.
Visuals
Original mobile screenshots of district and crop navigation.
Data
Bundled crop/reference material with a separate current-weather integration.

The English/Urdu switch has partial translation coverage. Most crop and service content is bundled, while current weather comes from an external API. This story does not claim a public store release or measured changes in yields or farmer income.

Key takeaways

  • Location-first navigation gives a varied reference collection a clear starting point on a phone.
  • Bundled content and live weather have different availability, freshness, and maintenance responsibilities.
  • A language preference mechanism, complete translation, and reviewed right-to-left reading flows are distinct pieces of work.

Have a product in mind?

Let’s discuss the scope, the trade-offs, and a practical first step.

Discuss your project