flutter_basic_kit_library 0.0.3
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 iconscurved_navigation_bar— curved bottom navigation bargoogle_fonts— Google Fonts integrationflutter_native_splash— native splash screen generator
App structure / state management #
go_router— declarative routingprovider— state managementget_it— service locatorinjectable— codegen forget_it-based dependency injection
Networking / models #
dio— HTTP clientretrofit— type-safe REST client annotations built ondiofreezed_annotation— annotations for immutable (freezed) modelsjson_annotation— annotations for JSON serialization
freezed,json_serializable,retrofit_generator,injectable_generatorandbuild_runnerare only needed for code generation, so they're listed asdev_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 owndev_dependenciesonbuild_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 compatiblePATCH— bug fixes or minor-version bumps of bundled packages
See CHANGELOG.md for the full history.