Category : Dart

Dart samples A collection of Dart programs that illustrate features and best practices. For a list of community-maintained projects, see Awesome Dart. Index command_line – A command line app that parses command-line options and fetches from GitHub. extension_methods – A set of samples that demonstrates the extension methods syntax and shows some common use cases of the feature. null_safety/calculate_lix – A ..

Read more

calendar_view A Flutter package allows you to easily implement all calendar UI and calendar event functionality. For web demo visit Calendar View Example. Preview Installing Add dependencies to pubspec.yamlGet the latest version in the ‘Installing’ tab on pub.devdependencies: calendar_view: <latest-version> Run pub get.flutter pub get Import package.import ‘package:calendar_view/calendar_view.dart’; Implementation Wrap MaterialApp with CalendarControllerProvider and assign EventController to it.CalendarControllerProvider( controller: EventController(), child: MaterialApp( // Your ..

Read more

excel_to_json A package that allows you to transform your excel to the following format: Excel To JSON Getting Started At current the package allows you to use the following function (note: currently xlsx file type gives perfect results): 1.convert() For implementation have a look at the attached example file in the github repository. Download source ..

Read more

inspector A Flutter package for inspecting widgets. Also comes with an eyedropper functionality. Useful for debugging widgets and for QA testing. Supports keyboard shortcuts if you’re using a physical keyboard. Check out the example web app! Inspired by inspx. WIP Warning, the development of this package is still in progress and some things may break your app. ..

Read more

A flutter package for iOS and Android for applying filter to an image. A set of preset filters are also available. You can create your own filters too. Installation First, add photofilters and image as a dependency in your pubspec.yaml file. iOS No configuration required – the plugin should work out of the box. Android No configuration required – the ..

Read more

nyxx_interactions Simple, robust framework for creating discord bots for Dart language. Features Slash commands supportSupports and provides easy API for creating and handling slash commands Commands framework includedA fast way to create a bot with command support. Implementing the framework is simple – and everything is done automatically. Cross PlatformNyxx works on the command line, ..

Read more

supabase-dart A Dart client for Supabase. What is Supabase Supabase is an open source Firebase alternative. We are a service to: listen to database changes query your tables, including filtering, pagination, and deeply nested relationships (like GraphQL) create, update, and delete rows manage your users and their permissions interact with your database using a simple UI Status ..

Read more

This project starts from Hello World untill the end of the Dart 🙂 Simple example Hello World in Dart void main() { // Just print it! print(“Hello World”); } Variables in Dart enum Os { BigSur, Mojave, Sierra, Catalina } void main() { String name = “Amir”; int age = 18; double height = 1.6; bool male = true; var field = “Programming”; ..

Read more

I tried Golden Test https://pub.dev/packages/golden_toolkit Verify using this library By the way, it seems that the screenshot of the master is called Golden. I tried to test the case where the color of the widget is different with the counter application OK assumption NG assumption procedure 1. Add golden_toolkit to dev_dependencies 2. Create golden_test.dart in the test folder ..

Read more

pusher_channels is a pure Dart pusher channels client. This client is work in progress and it is unstable. Usage A simple usage example: import ‘package:pusher_channels/pusher_channels.dart’; main() { final pusher = Pusher(key: ‘YOUR_APP_KEY’); await pusher.connect(); final channel = pusher.subscribe(‘channel’); channel.bind(‘event’, (event) { print(‘WOW event: $event’); }); } Features and bugs Please file feature requests and bugs at ..

Read more

Health Management Console application made in Dart and FireBase This application controls the admission of patients who are registered, if there are consultations available they are entered into consultations, otherwise they are added to a waiting list. In addition, you can release queries, view the waiting list, and view the status of queries. Here is the ..

Read more

null_safety_percentage Command-line tool to provide null-safety percentage info of a project. Track your migration progress on mixed-version programs that execute with unsound null safety. Important links Read the source code and star the repo on GitHub Open an issue on GitHub See package on pub.dev Read the docs on pub.dev Dart Null safety Migrating to null safety ..

Read more

flutter_blue_elves A flutter plugin witch includes platform-specific implementation code for Android and/or iOS to connect and control bluetooth ble device. Table of Contents Install Usage Install This project is a flutter plugin,so you use it by add dependencies in your pubspec.yaml. dependencies: flutter: sdk: flutter flutter_blue_elves: ^0.1.2 $ flutter pub get Usage Import plugin module ..

Read more

flutter_draggable_gridview This package supports drag & drop widgets inside the GridView.builder for multiplatform. It provides all the properties which are available in Gridview.builder and easy to implement with the few lines of code. Draggable GridView. Usage Example Required parameters gridDelegate: A delegate that controls the layout of the children within the GridView. listOfWidgets: This property ..

Read more

A customizable segment tab control. Can be used with or without TabView. Made in lanars.com. Features The package provides an advanced segmented control widget based on the TabController. Getting started To use the package, add the dependency to the pubspec.yaml file. And import the library. import ‘package:animated_segmented_tab_control/animated_segmented_tab_control.dart’; Usage The package contains a SegmentedTabControl widget that requires a SegmentTab list. SegmentedTabControl( tabs: [ SegmentTab( ..

Read more

arowana A lightweight HTTP server framework for Dart.It is based on the shelf library for handling HTTP requests and implements a high-performance routing with reference to Golang’s Gin framework. Usage A simple usage example: import ‘dart:isolate’; import ‘package:arowana/arowana.dart’; class MyAChannel extends DefaultChannel{ @override Future prepare() { print(‘current isolate [${Isolate.current.debugName}]’); return super.prepare(); } @override void entryPoint() { get(‘/hello’, ..

Read more

Overview  The goal of this package is to make it easy to interact with Cloud Firestore API. The firefuel community aims to always make this package simple, intuitive, and consistent. firefuel wraps the cloud_firestore plugin, and provides conventions to help jump-start your development. Still not convinced? See our documentation on why we thing you should choose firefuel Scope  firefuel focuses on simplifying the edge ..

Read more

async_call_queue AsyncCallQueue is a Dart class which provides a queuing mechanism to prevent concurrent access to asynchronous code. Getting Started Add this to your app’s pubspec.yaml file: dependencies: async_call_queue: ^1.0.0 Usage Then you have to import the package with: import ‘package:async_call_queue/async_call_queue.dart’; And use AsyncCallQueue where appropriate. Some examples: // This is the control. The delayedWrite1234To function writes each // ..

Read more

StateNotifier Hook This package provides a useStateNotifier hook similar to useValueListenable. There is also useCreateStateNotifier hook which creates a StateNotifier and automatically dispose it. Usage // 1. Create your state notifier as usual. class CounterNotifier extends StateNotifier<int> { CounterNotifier() : super(0); void increment() => state++; void decrement() => state–; } // 2. Extend hook widget class ReadMeExample extends HookWidget { const ReadMeExample({Key? ..

Read more

dart_vlc Flutter media playback, broadcast, recording & chromecast library for Windows, Linux & macOS. Written in C++ using libVLC & libVLC++. Installation Flutter dependencies: … dart_vlc: ^0.1.6 Dart CLI dependencies: … dart_vlc_ffi: ^0.1.3 More on Dart CLI implementation here. Feel free to open a new issue or discussion, if you found a bug or need assistance. Support Consider supporting ..

Read more

FlutterBleLib A library for all your Bluetooth Low Energy needs in Flutter. Internally utilises Polidea’s MultiPlatformBleAdapter, which runs on RxAndroidBle and RxBluetoothKit. BLE Simulator This library supports BLEmulator, the BLE simulator. The simulation allows one to develop without physical smartphone or BLE peripheral and use one’s production BLE–related code in automated testing. Installation To use this plugin, add flutter_ble_lib as a dependency in ..

Read more

easy_scroll_to_index A new Flutter package support scroll to index for Listview, Gridview and NestedScrollView Author: DinhVanHung Demo Example: Display on UI To display on UI, currently you can use EasyScrollToIndex. Example: vertical horizontal Download scroll to index package source code at GitHub FlutterappworldProvides the list of the opensource Flutter apps collection with GitHub repository. flutterapp..

Read more

Google’s ML Kit Flutter Plugin A Flutter plugin to use Google’s standalone ML Kit for Android and iOS. Features Vision Feature Android iOS Text Recognition Face Detection Pose Detection Selfie Segmentation yet yet Barcode Scanning Image Labelling Object Detection and Tracking yet Digital Ink Recognition Text Detector V2 yet Natural Language Feature Android iOS Language Identification On-Device ..

Read more

A Flutter package that makes navigation and routing easy. Learn more at vrouter.dev Here are a few things that this package will make easy: Automated web url handling Nesting routes Transition Advanced url naming Reacting to route changing Customizable pop events And much more… Index Index Getting started VRouter VRouteElements VWidget VGuard VRouteRedirector VNester VPopHandler Navigation ..

Read more

Fpdart Functional programming in Dart and Flutter. All the main functional programming types and patterns fully documented, tested, and with examples. Fpdart is fully documented. You do not need to have any previous experience with functional programming to start using fpdart. Give it a try! Fpdart is inspired by fp-ts, cats, and dartz. Note: The package is still in ..

Read more

Fast ECS Simple and fast Entity-Component-System (ECS) library written in Dart. CPU Flame Chart device Nexus 5 (2014) android 6.0.1 fast_ecs version 0.0.1 all Time 10500(ms) 1024 entities  RotationSystem void update(double deltaTime, SetEntity entities) { for (var i = 0; i < entities.size; i++) { Entity entity = entities[i]; TransformComponent transform = transformComponents[entity]; VelocityComponent rotation ..

Read more

DartSSH 2 dartssh2 is a pure dart SSH implementation based on dartssh, with bug fixes, up-to-date dependencies and sound null safety. dartssh2 providing first-class tunnelling primitives. Feature support Keys Ed25519, ECDSA, RSA KEX X25519DH, ECDH, DHGEX, DH Cipher AES-CTR, AES-CBC MAC MD5, SHA Compression not yet supported Forwarding TCP/IP, Agent Tunneling drop-ins for Socket, WebSocket, package:http Try # Install ..

Read more

hCaptcha Flutter During one of the projects I was working on, I found out that there aren’t any “solid enough” captcha implementations in Flutter. After following [https://medium.com/@hCaptcha/implementing-hcaptcha-in-your-flutter-app-13ea6ddca71b](this official guide) on https://www.hcaptcha.com/, I decided to make an “all-in-one” solution, that takes care of the state and widgets needed to get HCaptcha Working with your flutter project. This Repository ..

Read more

ValorantClient valorant_client is a library to interact with VALORANT Game API’s to fetch user specific data such as matches played, user info, store info etc. Usage Add valorant_client as a dependency on pubspec.yaml file on your project root. At the time of this writing, the latest package version is 1.1.0. Do check Package Page to get latest version. dependencies: valorant_client: ^1.1.0 Import ..

Read more

go_router The goal of the go_router package is to simplify use of the Router in Flutter as specified by the MaterialApp.router constructor. By default, it requires an implementation of the RouterDelegate and RouteInformationParser classes. These two implementations themselves imply the definition of a third type to hold the app state that drives the creation of the Navigator. You can read an excellent blog post on these requirements on Medium. This ..

Read more

flutter_image_saver Simple and effective cross platform image saver for flutter, supported web and desktop. Usage final savedPath = await saveImage(data, ‘image.png’); Android android/app/src/main/AndroidManifest.xml: Add android:requestLegacyExternalStorage=”true” to <application>. Download flutter image saver package source code on GitHub FlutterappworldProvides the list of the opensource Flutter apps collection with GitHub repository. flutterapp..

Read more

Mapbox Flutter This project is inspired by Mapbox_gl This project also integrates the Null_Safety We welcome feedback and contributions. Running the example app Install Flutter and validate its installation with flutter doctor Clone the repository with git clone git@github.com:BorisGautier/mapbox_flutter.git Add a public Mapbox access token to the example app (see next section) Add a secret Mapbox access token for downloading the SDK ..

Read more

light_color_picker5 A new Flutter Application to control self build lamps for my personal use. You need extra hardware & software for getting this project running. This is just the code of the App. Download Light Color Picker source code on GitHub FlutterappworldProvides the list of the opensource Flutter apps collection with GitHub repository. flutterapp..

Read more

contextualized Context is a HashMap with shadowing (inherits parent values) and helpers to work with Types as keys Installation pubspec.yaml: dependencies: contextualized: ^1.0.0 Example class A { const A(this.value); final int value; } class B { const B(this.value); final int value; } const key = A(42); const value = B(15); typedef Factory<T> = T Function(); final ..

Read more