Craft UX

A Flutter package that provides a collection of reusable UI components and utilities for building beautiful and consistent user interfaces.

Features

  • HTTP Client Provider for easy API integration
  • Form handling utilities
  • Custom UI components
  • Built-in error handling and logging
  • Provider-based state management

Getting started

Add this to your package's pubspec.yaml file:

dependencies:
  craft_ux: ^0.0.1

Usage

Here's a simple example of how to use the HTTP Client Provider:

import 'package:flutter/material.dart';
import 'package:craft_ux/craft_ux.dart';

void main() {
  final dio = DioClient.createDioClient();
  
  runApp(
    HttpClientProvider(
      client: dio,
      child: const MyApp(),
    ),
  );
}

For more examples, check out the /example directory in the repository.

Additional information

Documentation

For detailed documentation, visit our documentation site.

Contributing

We welcome contributions! Please see our contributing guide for details.

Issues and feedback

Please file issues and feature requests on the GitHub repository.

License

This project is licensed under the MIT License - see the LICENSE file for details.