flutter_basic_kit_library 0.0.3 copy "flutter_basic_kit_library: ^0.0.3" to clipboard
flutter_basic_kit_library: ^0.0.3 copied to clipboard

A collection of basic Flutter UI widgets and app-scaffolding utilities used across cleanwash projects.

flutter_basic_kit_library #

Read this in other languages: 한국어

A starter-kit package that bundles the Flutter/Dart dependencies you add to almost every new project — UI widgets, routing, dependency injection, networking, and immutable-model codegen — behind a single dependency.

What's included #

UI #

  • cupertino_icons — iOS-style icons
  • curved_navigation_bar — curved bottom navigation bar
  • google_fonts — Google Fonts integration
  • flutter_native_splash — native splash screen generator

App structure / state management #

  • go_router — declarative routing
  • provider — state management
  • get_it — service locator
  • injectable — codegen for get_it-based dependency injection

Networking / models #

  • dio — HTTP client
  • retrofit — type-safe REST client annotations built on dio
  • freezed_annotation — annotations for immutable (freezed) models
  • json_annotation — annotations for JSON serialization

freezed, json_serializable, retrofit_generator, injectable_generator and build_runner are only needed for code generation, so they're listed as dev_dependencies. Adding this package does not run code generation for you — the models/API clients/DI code you generate with these tools still live in your own project, and your project needs its own dev_dependencies on build_runner (etc.) to run:

dart run build_runner build --delete-conflicting-outputs

Install #

dependencies:
  flutter_basic_kit_library: ^0.0.2
flutter pub get

Usage #

import 'package:flutter_basic_kit_library/flutter_basic_kit_library.dart';

void main() {
  const calculator = Calculator();
  final result = calculator.addOne(1); // 2
}

See example/main.dart for a runnable copy of the snippet above. The real value of this package is the bundled dependencies listed above — once it's in your pubspec.yaml, go_router, provider, get_it, dio, etc. are all available without adding them one by one.

When to use this #

  • You're bootstrapping a new project and don't want to add routing (go_router), DI (get_it/injectable), and networking (dio/retrofit) packages one at a time.
  • You want to keep UI/architecture conventions consistent across cleanwash projects.

Versioning #

This package follows Semantic Versioning.

  • MAJOR — a change that isn't backward compatible (e.g. a breaking change in a bundled package)
  • MINOR — a new bundled package or feature, backward compatible
  • PATCH — bug fixes or minor-version bumps of bundled packages

See CHANGELOG.md for the full history.

Additional information #