sayur_segar 0.1.2 copy "sayur_segar: ^0.1.2" to clipboard
sayur_segar: ^0.1.2 copied to clipboard

A Flutter package containing reusable widgets and functions for Lokio.dev projects. Provides UI components and utility functions that can be reused to accelerate Flutter application development.

Sayur Segar #

A Flutter package containing reusable widgets and utility functions for Lokio.dev projects.

Features #

UI Components - Pre-built widgets following Lokio.dev design system
🔧 Formatter Utilities - Comprehensive formatting functions for strings, numbers, dates, and more
Well Tested - 170+ unit tests covering all functionality

Installation #

Add to your pubspec.yaml:

dependencies:
  sayur_segar: ^0.1.2

Then run:

flutter pub get

Quick Start #

import 'package:sayur_segar/sayur_segar.dart';

// Use button components
SayurSegar(
  onPressed: () {},
  variant: ButtonVariant.primary,
  child: Text('Click Me'),
)

// Use formatter utilities
String formatted = formatCurrency(1000000); // 'Rp 1.000.000'
String date = formatDate(DateTime.now(), 'dd/MM/yyyy');
String phone = formatPhoneNumber('081234567890'); // '0812-3456-7890'

Example App #

Explore all features with our interactive example app:

cd example
flutter pub get
flutter run

Documentation #

📚 Full Documentation: flutter.lokio.dev
🏠 Homepage: sayursegar.lokio.dev
💻 Repository: GitHub

License #

MIT License - see LICENSE for details.


Made with ❤️ by Lokio.dev

1
likes
0
points
148
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package containing reusable widgets and functions for Lokio.dev projects. Provides UI components and utility functions that can be reused to accelerate Flutter application development.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on sayur_segar