#1 solutionFeature flags for Dart

Optimize your Dart development and ship code faster and safer with feature flags. Tggl lets you deploy code when it is ready and release it when you are.

Dart logo
+
Tggl logo

Trusted by

Swan logoSellsy logoRise up logoStoik logoYuno logoSlowy logoAlgoan logoEquify logoGoelo logo

How to use feature flags in Dart

Tggl enables you to follow best practices and integrate feature flags into your Dart app in minutes with just a few lines of code and a single API call.

import 'package:http/http.dart' as http;
 
void main() async {
  var headers = {
    'Content-Type': 'application/json',
    'x-tggl-api-key': 'API_KEY',
  };
 
  var data = '{"userId":"foo","email":"foo@gmail.com"}';
 
  var url = Uri.parse('https://api.tggl.io/flags');
  var res = await http.post(url, headers: headers, body: data);
  if (res.statusCode != 200) throw Exception('http.post error: statusCode= ${res.statusCode}');
  print(res.body);
}

API documentation

Best in class UIEasy to use interface, even for non-technical users

Empower product and marketing teams to experiment within safe boundaries set by your engineering team.

Your app is instantly updated when a flag is updated, no need to write code and deploy the new version.

Feature flag conditions based on plan type

PerformanceNo compromise on performance

Tggl is optimized for mobile devices and other client side applications. You can get all the benefits of feature flags with no compromise on performance and interactivity.

A single API call

A single API call

Tggl requires just one API call at the start of a session to retrieve all flags for a user. Your code then simply checks the initial response.

Small payload

Tiny payload (<1kb)

Unlike other providers, Tggl's API responses are optimized for mobile devices with slow connexions.

Resilient by design

Resilient by design

Tggl ensures your app will never crash due to feature flags. In case of service disruption or network errors, it will simply fall back to a safe state.

Server-side evaluation

Server-side evaluation

Cache the configuration on your backend or use our proxy to locally evaluate flags for each user with no API calls and no overhead on your HTTP responses.

Runs on the edge

Runs on the edge

Evaluate flags directly on the edge with no API calls and serve customized pages that don’t blink when loaded.

Privacy first

Privacy first

Use the Tggl proxy and make sure your data never leaves your infrastructure. Host it close to your end user for even better performance.

What our clients have to say about us

quote left
Tggl has allowed our product team to be completely autonomous regarding releases and work in a way that actually makes sense. It has drastically improved our ability to test and iterate on new features and has made our product more reliable and stable. Our collaboration with developers is much smoother now.
quote right
Simon Guigue profile pictureSimon Guigue, Head of Product & Design @ Stoïk

We value privacy and security

GRPR compliant

GDPR compliant

Tggl's robust data handling practices ensure GDPR compliance, safeguarding user privacy and data security.

Data stored in EU

Data stored in EU

Tggl securely stores data within the European Union, adhering to stringent data protection standards and regulations.

Your data dont reach our servers

Your data never reaches our servers

Use the open source Tggl proxy on your own infrastructure to ensure that your data never leaves your servers.

Two-factors authentification

Two-factor authentication

Enable two-factor authentication (2FA) to greatly improve your security posture on Tggl!

Custom roles

Custom roles

Assign granular access permissions to ensure the right people have the right access.

Feature flags history

Flag history

Precisely track what changes were made, who made them, and easily rollback to a previous configuration.

Start experimenting with feature flags in Dart

You can try out Tggl at no cost and see immediate results. The platform is equipped with thorough documentation that simplifies the setup process. Its well-organized resources ensure that you can integrate Tggl smoothly and effectively into your development workflow.

Get startedNo credit-card required
Get started video preview

Find out how we compare to other tools

If you're looking for a thorough analysis of feature flag tools for Dart, our comparison guide has you covered. It delves into the features, ease of use, and pricing of various options, offering valuable insights to help you choose the right tool for your project.