Analysis of the Provider State Management Pattern for Performance and Maintainability in a Flutter-based Mobile Pharmacy Application
Abstract
Performance measurements were conducted using Flutter DevTools, including widget rebuild count, frame rendering time, and memory usage, with comparisons against setState as the baseline. Maintainability was assessed through nine metric aspects, including code distribution across layers, provider class metrics, provider access patterns, screen complexity, architectural patterns, and dependency graph analysis. The results indicate that the Provider pattern reduces widget rebuild count by an average of 52.3% compared to setState, with frame rendering time consistently below 16 ms. In terms of maintainability, the Provider architecture demonstrates low coupling (all providers depend solely on ApiService), zero inter-provider dependency, and well-structured separation of concerns. The novelty of this study lies in the combined evaluation of performance and maintainability of the Provider pattern within the domain of a pharmacy business application, which involves CRUD operations, inventory management, and point-of-sale (POS) transactions—a domain that has not been extensively explored in prior Flutter state management literature. The main contribution is empirical evidence that the Provider pattern offers an optimal balance between performance, maintainability, and implementation complexity for medium-scale mobile applications.
Keywords
Full Text:
PDFReferences
N. Nasri, S. Sentosa, R. A. I. Miracelova, A. Alamsyah, and S. Lie, “Application of Pharmacy Management Systems and Digital Marketing: Impact on Highly Efficiency and Increased Turnover,” World Journal of Advanced Research and Reviews, Vol. 24, No. 3, pp. 1961–1969, 2024, DOI: 10.30574/wjarr.2024.24.3.3815.
M. Szczepanik and M. Kedziora, “State Management and Software Architecture Approaches in Cross-Platform Flutter Applications,” in Proceedings of the 15th International Conference on Evaluation of Novel Approaches to Software Engineering (ENASE 2020), SciTePress, 2020, pp. 407–414. DOI: 10.5220/0009411604070414.
R. R. Prayoga, G. Munawar, R. Jumiyani, and A. Syalsabila, “Performance Analysis of BLoC and Provider State Management Library on Flutter,” Jurnal Mantik, Vol. 5, No. 3, pp. 1591–1597, 2021, Accessed: Apr. 15, 2026. [Online]. Available: https://garuda.kemdiktisaintek.go.id/documents/detail/2294248
Google, “Flutter Documentation,” 2024. [Online]. Available: https://docs.flutter.dev/
Sanghmitra, “The State Management Dilemma: BLoC vs. Provider in Modern Flutter Development,” International Journal of Scientific Research in Computer Science, Engineering and Information Technology, Vol. 10, No. 5, pp. 326–336, Oct. 2024, DOI: 10.32628/CSEIT241051027.
I. Husain, P. Purwantoro, and C. Carudin, “Analisis Performa State Management Provider dan GetX pada Aplikasi Flutter,” JATI (Jurnal Mahasiswa Teknik Informatika), Vol. 7, No. 2, pp. 1417–1422, 2023, DOI: 10.36040/jati.v7i2.6867.
J. A. Puryanto and H. Akbar, “Performance Analysis of Provider and Riverpod State Management Library on Flutter Applications,” Journal of Technology and Informatics (JoTI), Vol. 7, No. 2, pp. 190–200, 2025, DOI: 10.37802/joti.v7i2.1164.
M. R. Dewi, N. Ngaliah, and S. Rochimah, “Maintainability Measurement and Evaluation of myITS Mobile Application using ISO 25010 Quality Standard,” in 2020 International Seminar on Application for Technology of Information and Communication (iSemantic), IEEE, 2020, pp. 530–536. DOI: 10.1109/iSemantic50169.2020.9234283.
Y. Koba, O. Nazarov, and N. Nazarova, “Research on Methods of Optimizing Flutter Applications Rendering using a Linear Regression Model,” Bionics of Intelligence, Vol. 2, No. 101, pp. 75–83, Dec. 2024, DOI: 10.30837/bi.2024.2(101).11.
L. Ardito, R. Coppola, L. Barbato, and D. Verga, “A Tool-based Perspective on Software Code Maintainability Metrics: A Systematic Literature Review,” SCI. Program., Vol. 2020, pp. 1–26, 2020, DOI: 10.1155/2020/8840389.
B. Wisnuadhi, G. Munawar, and U. Wahyu, “Performance Comparison of Native Android Application on MVP and MVVM,” in Proceedings of the International Seminar of Science and Applied Technology (ISSAT 2020), Paris, France: Atlantis Press, 2020, pp. 4021–4035. DOI: 10.2991/aer.k.201221.047.
M. D. Aditya and M. Susanty, “Studi Komparasi Maintainability Antara Aplikasi yang dikembangkan dengan Framework Flutter dan React Native,” Jurnal Informatika, Vol. 9, No. 2, pp. 159–171, 2022, DOI: 10.31294/inf.v9i2.12885.
A. A. D. Jatnika, M. A. Akbar, and A. Pinandito, “Comparative Analysis of the use of State Management in E-commerce Marketplace Applications using the Flutter Framework,” Journal of Information Technology and Computer Science (JITeCS), Vol. 8, No. 2, pp. 111–124, 2023, DOI: 10.25126/jitecs.202382557.
M. Z. Azziqra and I. Nuryasin, “Implementasi Clean Architecture pada Aplikasi Mobile Al-Quran berbasis Flutter,” JOISIE (Journal of Information Systems and Informatics Engineering), Vol. 8, No. 2, pp. 369–380, 2024, DOI: 10.35145/joisie.v8i2.4763.
E. M. Mikhael, F. Y. Al-Hamadani, and A. M. Hadi, “Design and Evaluation of a New Mobile Application to Improve the Management of Minor Ailments: A Pilot Study,” BMC Health Serv. Res., Vol. 22, p. 920, 2022, DOI: 10.1186/s12913-022-08292-9.
J. Piskor and M. Badurowicz, “Performance Comparison of Flutter Platform GUI in Web and Native Environments,” Journal of Computer Sciences Institute, Vol. 28, pp. 217–222, Sep. 2023, DOI: 10.35784/jcsi.3677.
DOI: https://doi.org/10.32520/stmsi.v15i4.6237
Article Metrics
Abstract view : 3 timesPDF - 0 times
Refbacks
- There are currently no refbacks.

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.







