BMarx981 / ncl_assessment

A assessment test for ncl.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ncl_tech_assesment

Tech assessment for NCL

Getting Started

This project is a tech assessment for NCL.

The app will have three buttons that will parse an api.

I used three packages in the app, http, Riverpod and network_image_mock. I felt like they were worth using due to popularity in pubdev and how current they are. They are also the perfect solution to tests, network requests and state management. Riverpod's FutureProvider supplies the state management with data, error and loading in the "when" callback. These three are perfect for api calls and the different states we find ourselves in while interacting with network calls. I used an enum to differentiate between the different ships. This enum is also what calls the different network calls. The Services directory contains a base service class for scalability.

I was using Flutter stable 2.10.5 Dart 2.16.2

About

A assessment test for ncl.


Languages

Language:Dart 95.5%Language:Swift 3.2%Language:Kotlin 1.1%Language:Objective-C 0.3%