tiki-deprecated / publish-sdk-flutter

TIKI SDK (Flutter) - Consumer Data Licensing
https://mytiki.com/docs/sdk-overview
MIT License
4 stars 4 forks source link

Decouple UI Components from TIKI SDK #260

Open ricardobrg opened 1 year ago

ricardobrg commented 1 year ago

Currently, the UI components in TIKI SDK are tightly coupled with the SDK, making it difficult for developers to use them without the SDK Theme. This can create a dependency issue for developers who may not want to use all the SDK pre-built UIs.

Proposed Solution

To make the UI components more flexible and reusable, we need to decouple them from the TIKI SDK. This can be achieved by ensuring that each component receives all the necessary parameters through initialization parameters. These parameters should include all colors and styles that are currently used from the TIKI SDK Theme and any necessary methods that are called from TIKI SDK.

Expected Result

Once the UI components are decoupled from the TIKI SDK, developers should be able to use them without any reference to the TIKI SDK. This will allow for more flexibility and easier integration with other projects.

Tasks

Additional Information

ricardobrg commented 1 year ago

Image