turbo_widgets 1.0.0 copy "turbo_widgets: ^1.0.0" to clipboard
turbo_widgets: ^1.0.0 copied to clipboard

Common reusable UI widgets, extensions, and animation utilities for Flutter.

🎨 Turbo Widgets #

Pub Version License: BSD-3-Clause GitHub Stars

Turbo Widgets is a collection of common reusable UI widgets, extensions, and animation utilities for Flutter applications. It provides convenient widgets and extensions to speed up Flutter development.

Features #

  • Convenient Widgets: Pre-built widgets like TurboRow, TurboColumn, TurboPadding, TurboMargin, TurboDivider, and more
  • Animation Utilities: Widgets like TurboAnimatedSize and TurboSlideShrink for smooth animations
  • Extensions: Helpful extensions for numbers, strings, durations, and more
  • Badge & Chip Widgets: Ready-to-use badge and chip widgets for UI elements

Installation #

Add turbo_widgets to your pubspec.yaml file:

dependencies:
  flutter:
    sdk: flutter
  turbo_widgets: ^1.0.0

Then run:

flutter pub get

Usage #

Widgets #

import 'package:turbo_widgets/turbo_widgets.dart';

// Convenient padding
TurboPadding.app() // Standard app padding (16.0)
TurboPadding.button() // Button padding (16.0 horizontal, 0 vertical)
TurboPadding.card() // Card padding (12.0)

// Layout widgets
TurboRow(
  children: [
    // Your widgets
  ],
)

TurboColumn(
  children: [
    // Your widgets
  ],
)

// Divider
TurboDivider(
  height: 1.0,
  color: Colors.grey,
)

Extensions #

// Number extensions
5.0.scale(0.5) // Scale a number

// String extensions
'hello'.capitalize() // Capitalize first letter

// Duration extensions
Duration(seconds: 5).format() // Format duration

Example #

Check the /example directory for a complete Flutter application demonstrating Turbo Widgets features.

Contributing #

Contributions are welcome! Please open issues or pull requests on our GitHub repository.

License #

This package is licensed under the BSD 3-Clause License. See the LICENSE file for details.

0
likes
140
points
109
downloads

Publisher

unverified uploader

Weekly Downloads

Common reusable UI widgets, extensions, and animation utilities for Flutter.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_animate, gap

More

Packages that depend on turbo_widgets