Skip to content

swciitg/onestop_kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OneStopKit

OneStopKit is a Flutter package developed by SWC IITG to provide a set of common files, including colors, styles, enums, models, and more, for the "OneStop IITG" app. This package aims to enhance code reusability and maintainability across different parts of the application.

Features

OneStopKit includes the following features:

  • Colors: A predefined set of colors consistent with the "OneStop IITG" app's design theme.
  • Styles: Common text styles, button styles, and other UI element styles to ensure a consistent look and feel throughout the app.
  • Enums: Enumerations for various types used within the application, facilitating type safety and clarity in code.
  • Models: Data models representing different entities used within the app, such as user profiles, events, notifications, etc.
  • Utility Functions: Helper functions and utilities that can be reused across different parts of the application, improving development efficiency.

Installation

You can install OneStopKit by adding it as a dependency in your pubspec.yaml file:

onestop_kit:
  git:
    url: https://github.com/swciitg/onestop_kit.git

Then, run flutter pub get in your terminal to fetch the package.

Usage

Once installed, you can import OneStopKit in your Dart code files and access its features:

import 'package:onestop_kit/onestop_kit.dart';

Example usage of accessing colors:

class Example extends StatelessWidget {
  const Example({super.key});

  @override
  Widget build(BuildContext context) {
    return Container(
        color: OneStopColors.primaryColor,
        child: Text(
          'Welcome to OneStop IITG!',
          color: OneStopColors.kWhite,
        )
    );
  }
}

License

OneStopKit is licensed under the MIT License.


© SWC IITG | OneStopKit

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages