at_logo  at_flusort

Pub Version Platform License GitHub Stars

A lightweight and extensible sorting algorithm package — designed for practical usage.


🌟 Features

  • Includes popular sorting algorithms:

    • 🛁 Bubble Sort
    • 🔍 Selection Sort
    • ✋ Insertion Sort
    • 🧩 Merge Sort
    • ⚡ Quick Sort
    • 🔺 Heap Sort
    • 🧮 Radix Sort
    • 🪣 Bucket Sort
  • Ready to use in Dart or Flutter projects

  • Generic support: sort int, double, String, DateTime, and more generic types!


🚀 Getting Started

Add the package to your pubspec.yaml:

dependencies:
  at_flusort: ^1.0.0

```md

## 🔧 Example: Quick Sort

```dart
import 'package:at_flusort/sorts/quick_sort.dart';

void main() {
  final List<int> numbers = [9, 3, 7, 1, 5];
  final List<int> sorted = QuickSort.sort(numbers);
  print(sorted); // [1, 3, 5, 7, 9]
}