tenzor 5.1.0 copy "tenzor: ^5.1.0" to clipboard
tenzor: ^5.1.0 copied to clipboard

A comprehensive Flutter utility & UI toolkit containing widgets, utilities, helpers, and integrations for rapid development.

Tenzor - Comprehensive Flutter Utility & UI Toolkit #

A comprehensive Flutter toolkit that provides a collection of production-ready UI components, utilities, helpers, and Firebase integrations to accelerate your app development process.

Features #

🎨 UI Components #

  • Buttons: TenzorButton, TenzorTextButton, TenzorIconButton, TenzorOutlinedButton, TenzorLoadingButton, TenzorFloatingButton
  • Inputs: TenzorTextField, TenzorPasswordField, TenzorEmailField, TenzorSearchField, TenzorNumberField
  • Navigation: TenzorNavigation, TenzorAppBar, TenzorBottomNavigation, TenzorTabBar, TenzorAnimatedNavigator
  • Loaders: TenzorCircularLoader, TenzorLinearLoader, TenzorShimmerLayout
  • Feedback: TenzorAlert, TenzorSnackbar
  • Specialized: TenzorSplash, TenzorChatView, TenzorVideoPlayer

🔥 Firebase Integrations #

  • Auth: TenzorAuthService - Complete authentication service
  • Firestore: TenzorFirestoreService - Simplified Firestore operations
  • Storage: TenzorStorageService - Easy cloud storage management

🛠️ Core Utilities #

  • Async helpers: Simplified async/await patterns
  • Cache: Built-in caching mechanisms
  • Logging: TenzorLogger - Structured logging
  • Network: TenzorHttpClient - HTTP client wrapper
  • Responsive: TenzorResponsive - Adaptive layouts
  • Validation: TenzorValidator - Form validation utilities
  • Result type: Type-safe error handling
  • Extensions: Color, String, and more extensions

📦 Flexible Imports #

Import the entire package or only the components you need:

// Import everything
import 'package:tenzor/tenzor.dart';

// Or import individual components
import 'package:tenzor/tenzor_button.dart';
import 'package:tenzor/tenzor_navigation.dart';
import 'package:tenzor/tenzor_text_field.dart';

Getting Started #

Prerequisites #

  • Flutter 3.16.0+
  • Dart 3.13.1+

Installation #

Add Tenzor to your pubspec.yaml:

dependencies:
  flutter:
    sdk: flutter
  tenzor: ^0.1.0

Basic Usage #

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

void main() {
  runApp(const MyApp());
}

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: TenzorAppBar(title: 'Tenzor Demo'),
        body: Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: [
              TenzorTextField(
                label: 'Email',
                validator: TenzorValidator.email,
              ),
              const SizedBox(height: 20),
              TenzorButton(
                text: 'Submit',
                onPressed: () {
                  TenzorSnackbar.show(context, 'Form submitted!');
                },
              ),
            ],
          ),
        ),
      ),
    );
  }
}

Firebase Setup (Optional) #

To use Firebase features, add Firebase to your project and initialize:

await Firebase.initializeApp();
final auth = TenzorAuthService();
final firestore = TenzorFirestoreService();
final storage = TenzorStorageService();

Example #

Check out the example directory for a complete demo application showcasing all Tenzor features.

Additional Information #

Issues & Feedback #

Please file issues, bugs, or feature requests in our issue tracker.

Contributing #

Contributions are welcome! Please read our contributing guidelines before submitting PRs.

License #

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

0
likes
125
points
233
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A comprehensive Flutter utility & UI toolkit containing widgets, utilities, helpers, and integrations for rapid development.

Repository
View/report issues

License

MIT (license)

Dependencies

audio_service, battery_plus, cached_network_image, chopper, cloud_firestore, collection, connectivity_plus, crypto, csv, device_calendar, device_info_plus, dio, drift, file_picker, firebase_auth, firebase_core, firebase_messaging, firebase_storage, fl_chart, floor, flutter, flutter_blue_plus, flutter_email_sender, flutter_keyboard_visibility, flutter_launcher_icons, flutter_local_notifications, flutter_localizations, flutter_native_splash, flutter_pdfview, flutter_phone_direct_caller, flutter_screenutil, flutter_secure_storage, flutter_sound, freezed_annotation, geocoding, geolocator, google_mlkit_face_detection, google_mlkit_image_labeling, google_mlkit_object_detection, google_mlkit_pose_detection, google_mlkit_text_recognition, google_mobile_ads, google_sign_in, hive, http, image_cropper, image_picker, in_app_purchase, intl, json_annotation, just_audio, logger, mobile_scanner, model_viewer_plus, mqtt_client, objectbox, open_file, package_info_plus, path, path_provider, pdf, permission_handler, pretty_dio_logger, printing, provider, qr_flutter, retrofit, sembast, sensors_plus, share_plus, shared_preferences, sign_in_with_apple, sms_autofill, sqflite, tflite_flutter, timezone, url_launcher, vector_math, video_player, wakelock_plus, web3dart, web_socket_channel, xml

More

Packages that depend on tenzor