Category : Dart

Features  translation without context  Translation Loaders  json  yaml  dart  even Api or any data source  translation  Pluralization   Gender   Arguments  Nested translation ‘validation.too_short’  App  auto RTL – LTR based on the current locale  reloading the app automatically  productivity – avoiding bugs  automatically save the last preferred language  – no shared prefs  –  detecting a duplicate or a missing ..

Read more

Multi Image Tracker A flutter package which makes it easy to track a series of images. Installation In the dependencies: section of your pubspec.yaml, add the following line: dependencies: multi_image_tracker: <latest version> Usage Import this class import ‘package:multi_image_tracker/multi_image_tracker.dart’; multi image tracker MultiImageTracker( images: [Image.asset(‘assets/day1.jpg’), Image.asset(‘assets/day2.jpg’), Image.asset(‘assets/day3.jpg’)], width: MediaQuery.of(context).size.width, height: MediaQuery.of(context).size.height, clipFactor: 0.6, ), Download Multi Image Tracker package ..

Read more

About: A Flutter package for using Jalali (Shamsi, Solar, Persian or Jalaali) calendar. You can convert, format and manipulate Jalali and Gregorian (Miladi) dates. This is a pure dart package and Algorithm is based on popular JavaScript library jalaali-js with more than 20k monthly downloads. This package has a lot of unit tests with high test coverage ..

Read more

neon_circular_timer Make a timer application with a fancy neon effect and beautiful UI v0.0.3 and above now the timer has also a neumorphic border Preview of example Usage NeonCircularTimer( width: 200, duration: 20, strokeWidth: 10, textFormat: TextFormat.MM_SS, isTimerTextShown: true, neumorphicEffect: true, textStyle: Theme.of(context).textTheme.headline3, outerStrokeColor: Colors.grey.shade100, fillGradient: LinearGradient(colors: [ Colors.greenAccent.shade200, Colors.blueAccent.shade400 ]), neonGradient: LinearGradient(colors: [ Colors.greenAccent.shade200, Colors.blueAccent.shade400 ..

Read more

Dashed Rect This package allows you to draw dotted lines with Flutter. You can draw a beautiful dotted line. Screenshots Usage Example To use this package : add the dependency to your pubspec.yaml file. dependencies: flutter: sdk: flutter dashed_rect: ^0.0.3 How to use Container( color: Colors.red, height: 600, width: 300, child: const DashedRect( color: Colors.grey, gap: 1, ..

Read more

love A state management library that is functional, elegant and predictable. Why love has DNA of ReactiveX, Redux and RxFeedback. so it is: Unified – one is all, all is one (System<State, Event>) Declarative – system are first declared, effects begin after run is called Predictable – unidirectional data flow Flexible – scale well with complex app Elegant – code ..

Read more

Do you ever want to pub run build_runner build into another branch? This is your ticket. Install $ pub global activate peanut Run $ cd ~/my_dart_proj/ $ peanut This will build your project into a temporary directory, and then it will update the local gh-pages branch with its contents. Flutter Flutter apps can be built by running peanut with ..

Read more

flutter_incoming_call A Flutter plugin to show incoming call in your Flutter app! Alpha version(not ready for production!) Usage To use this plugin: Configure android project: Just add to your manifest activity and receiver. Configure Flutter plugin: Listen events: Call api: Demo ios ios (Lockscreen) Android Android (Lockscreen) Example Check out the example in the example ..

Read more

Advanced Icon A flutter package which contains collection of icon decoration tools such as gradient, opacity and icon transition feature with cool animation effects.  See live example. Installing With flutter run this command flutter pub add advanced_icon This will add a line like this to your package’s pubspec.yaml (and run an implicit flutter pub get): dependencies: advanced_icon: ..

Read more

sura_flutter A flutter package from AsurRaa for widgets and utility functions Migrate from 2.x to 3.x BREAKING CHANGE: remove FutureManager, AsyncSubjectManager, FutureManagerBuilder All manager class now has a separate package dependencies: sura_manager: any Installation Add this to pubspec.yaml dependencies: sura_flutter: ^0.4.2 Widgets Widget Description SuraRaisedButton Custom ElevatedButton with loading notifier SuraBadge Small badge like notification ..

Read more

A GBK codec library for Dart developers. GBK codec, support Stream interface of File and HttpClient. The usage is exactly the same as the utf8 codec. Created from templates made available by Stagehand under a BSD-style license. version fast_gbk: 1.0.0 Usage A simple usage example: Import ‘Package: fast_gbk / fast_gbk.dart’ ; void main () the async { ..

Read more

Short Intro: Provides the ability to lock the screen on ios and android. Biometric authentication can be used in addition to passcode. This Flutter plugin provides an feature for screen lock. Enter your passcode to unlock the screen. You can also use biometric authentication as an option. Attention A detailed API description will be provided ..

Read more

Phone Number for Flutter PhoneNumber is a Flutter plugin that allows you to parse, validate and format international phone numbers. The plugin uses the native libraries libphonenumber for Android and PhoneNumberKit pod for iOS. Library Version libphonenumber 8.12.32 PhoneNumberKit 3.3.3 Usage Parsing Parse a phone number with region prefix. String springFieldUSASimple = ‘+14175555470’; PhoneNumber phoneNumber = await PhoneNumberUtil().parse(springFieldUSASimple); Parse ..

Read more

Dart CLI Packager Short Intro: A set of Grinder tasks that make it easy to release a Dart command-line application. This package provides a set of Grinder tasks that make it easy to release a Dart command-line application on many different release channels, to Dart users and non-Dart users alike. It also integrates with Travis CI to ..

Read more

Usage FlamePluginComponent A simple usage example: import ‘package:composition_rendering/scene.dart’; import ‘package:flame/flame.dart’; import ‘package:flame/game.dart’; import ‘package:flame_composition_rendering/flame_plugin.dart’; import ‘package:flutter/widgets.dart’; void main() { WidgetsFlutterBinding.ensureInitialized(); runApp( GameWidget( game: ExampleLauncher(), ), ); } class ExampleLauncher extends BaseGame { final FlamePluginComponent plugin = FlamePluginComponent(); ExampleLauncher() { plugin.scene = GameScene(); } @override Future<void> onLoad() async { await Flame.images.loadAll([ ‘bg.jpg’, ]); await add(plugin); } ..

Read more

JsonToDart A Dotnet App to create dart class from json, taking null-safety into consideration The dart class extends Serializable base class Here is the Serializable class code import ‘dart:convert’; abstract class Serializable { String serialize() { return json.encode(this.toMap()); } void deserialize(String text) { this.fromMap(json.decode(text)); } //abstract Map<String, dynamic> toMap(); //abstract void fromMap(Map<String, dynamic> map); } Contribute on GitHub FlutterappworldProvides ..

Read more

From JSON to Dart Advanced Table of Contents Features Convert from clipboard Convert from selection Convert from clipboard to code generation Convert from selection to code generation Convert from file Annotations Speed up converting Enhanced file names Context actions The Syntax toString method copyWith method Equality Operator Equatable Null safety Supported Generators Freezed JSON Serializable ..

Read more

flutter toast Toast Library for Flutter Now this toast library supports two kinds of toast messages one which requires BuildContext other with No BuildContext Toast with no context Supported Platforms Android IOS Web (Uses Toastify-JS) This one has limited features and no control over UI Toast Which requires BuildContext Supported Platforms ALL Full Control of the Toast Toasts will ..

Read more

A MangaDex API wrapper for Dart Usage A simple usage example: import ‘package:mangadex_api/mangadex_api.dart’; main() { var client = MDClient(); client.getChapter(‘5e8bc984-5f3f-4fb1-b6ee-cf7f3812b112’).then((chapter) { print(chapter!.title); }); client.getMangaInfo(‘a96676e5-8ae2-425e-b549-7f15dd34a6d8’, appendChapters: true, translatedLang: [‘cs’]).then((m) { print(m!.title[‘en’]); }); } Currently if you login, only requests where authentication is required will be done with your token, unless you set the useLogin parameter in a function as true. Captcha If ..

Read more

realtime-dart Listens to changes in a PostgreSQL Database and via websockets. A dart client for Supabase Realtime server. Usage Creating a Socket connection You can set up one connection to be used across the whole app. import ‘package:realtime_client/realtime_client.dart’; var client = RealtimeClient(REALTIME_URL); client.connect(); Socket Hooks client.onOpen(() => print(‘Socket opened.’)); client.onClose((event) => print(‘Socket closed $event’)); client.onError((error) => print(‘Socket ..

Read more

Dart/Flutter package analyzer This action uses the pana (Package ANAlysis) package to compute the score that your Dart or Flutter package will have on the Pub site. This package, amongst other things: validates the code by performing static analysis with dartanalyzer, checks code formatting with dartfmt or flutter format (detected automatically), checks for outdated dependencies, validates the pubspec.yaml file (dependencies, description’s length…), checks for required ..

Read more

dio_http A powerful Http client for Dart, which supports Interceptors, Global configuration, FormData, Request Cancellation, File downloading, Timeout etc. This package has been forked from Dio. To read why, click here. Get started Add dependency dependencies: dio_http: ^5.0.4 Already know Dio 3 and just want to learn about what’s new in Dio 4? Check out the Migration Guide! ..

Read more

Day Picker A Flutter widget library that helps us to select days in a week. Screenshot Usage Add day_picker to your pubspec.yaml file. import the package: import ‘package:day_picker/day_picker.dart’; Constructor for the day_picker is given below. SelectWeekDays({ @required this.onSelect, this.backgroundColor, this.daysFillColor, this.daysBorderColor, this.selectedDayTextColor, this.unSelectedDayTextColor, this.border = true, this.boxDecoration, this.padding = 8.0, Key key, }) : assert(onSelect != null), super(key: key); Example here ..

Read more

Flutter Tab Toggle A Beautiful and Simple Tab/Toggle switch widget. It can be fully customized with desired icons, width, colors, text, corner radius etc. It also maintains selection state. Getting Started In the pubspec.yaml of your flutter project, add the following dependency: dependencies: … flutter_toggle_tab: “^latestVersion” Import it: import ‘package:flutter_toggle_tab/flutter_toggle_tab.dart’; Usage Examples Basic tab/toggle switch // Here ..

Read more

DayNightSwitcher Just a simple day / night switcher widget made in pure Dart. It allows you to quickly show a beautiful dark mode switcher widget to your users. How to use ? Using this plugin is pretty straightforward. You have two widgets : DayNightSwitcher and DayNightSwitcherIcon. Here’s a sample code for DayNightSwitcher : DayNightSwitcher( isDarkModeEnabled: isDarkModeEnabled, onStateChanged: (isDarkModeEnabled) { setState(() ..

Read more

flutter_switch An easy to implement custom switch created for Flutter. Give it a custom height and width, border for the switch and toggle, border radius, colors, toggle size, a choice to display an ‘On’ and ‘Off’ text and able to add an icon inside the toggle. Demo Video version: https://youtu.be/JqJnxjE6Efc Use this package as a library ..

Read more

SMHI Open Data for Dart A Dart package for usage of the Swedish Meteorological and Hydrological Institute’s Open Data API. The API allows you to get the weather and other meterological data like air temperature & pressure. At the time of writing this, the Meteorological Forecasts API is available in the following countries: Sweden Norway Finland ..

Read more

Short Intro: Imgix is a CDN service with support for realtime image processing and optimization. This package helps developers generate imgix image url. imgix_core_dart Imgix package for Dart. Imgix is a CDN service with support for realtime image processing and optimization. See also https://docs.imgix.com https://github.com/imgix/imgix-blueprint Install dependencies: imgix_core_dart: 1.0.0 Usage import ‘package:imgix_core_dart/imgix_core_dart.dart’; void main() { ..

Read more

Flutter Control is complex library to maintain App and State management.Library merges multiple functionality under one hood. This approach helps to tidily bound separated logic into complex solution. import ‘package:flutter_control/core.dart’; App State Management – Managing application state, localization, theme and other global App changes. Widget State Management – UI / Logic separation. Controlling State and UI updates. ..

Read more

Dart Sealed Class Generator Short Intro: Dart and Flutter sealed class generator and annotations, with match methods and other utilities. There is also super_enum compatible API. Generate sealed class hierarchy for Dart and Flutter. Features Generate sealed class with abstract super type and data sub-classes. Static factory methods. for example Result.success(data: 0). Cast methods. for example a.asSuccess, a.isSuccess or a.asSuccessOrNull. ..

Read more

macos_ui Flutter widgets and themes implementing the current macOS design language. Content macos_ui Content Contributing Resources Layout MacosWindow MacosScaffold Buttons MacosCheckbox HelpButton RadioButton PushButton MacosSwitch Dialogs MacosAlertDialog Fields MacosTextField Labels MacosTooltip Indicators Progress Indicators ProgressCircle ProgressBar Level Indicators CapacityIndicator RatingIndicator RelevanceIndicator Contributing macOS welcomes contributions. Please see CONTRIBUTING.md for more information. Resources macOS Design Resources ..

Read more

Ably Flutter Plugin A Flutter plugin wrapping the ably-cocoa (iOS) and ably-java (Android) client library SDKs for Ably, the platform that powers synchronized digital experiences in realtime. Ably provides the best infrastructure and APIs to power realtime experiences at scale, delivering billions of realtime messages everyday to millions of end users. We handle the complexity of realtime messaging so you can focus ..

Read more

Flutter Thepeer This package makes it easy to use the Thepeer in a flutter project.  Screen Shots  How to Use plugin ThePeer Send Launch ThepeerSendView in a bottom_sheet import ‘package:thepeer_flutter/thepeer_flutter.dart’; void launch() async { await ThepeerSendView( data: ThePeerData( amount: 10000, firstName: ‘$firstName’, receiptUrl: ‘$receiptUrl’, publicKey: ‘$publicKey’, userReference: ‘$userReference’, ), showLogs: true, onClosed: () { Navigator.pop(context); ..

Read more

fluent_ui Design beautiful native windows apps using Flutter Unofficial implementation of Fluent UI for Flutter. It’s written based on the official documentation You can check the web version of it here Content Motivation Installation Badge Style Icons Colors Accent color Brightness Visual Density Typograpy Font Type ramp Reveal Focus Motion Page Transitions Navigation Navigation View App Bar Navigation ..

Read more

sweetalertv2 sweetalertv2 for flutter. Showcases Getting started Add dependency Usage Basic usage With a subtitle With a success state With a confirm state Do some job Special Thanks best-flutter (initial project) Download this package source code on GitHub FlutterappworldProvides the list of the opensource Flutter apps collection with GitHub repository. flutterapp..

Read more