Mode:
Duration:
1
Coding works best on desktop or with an external keyboard.
Coding works best on desktop or with an external keyboard.
Tracks daily habits with checkboxes and FlutterFlow toggle widgets, combined with custom Dart logic.
import 'package:flutter/material.dart';
class HabitTracker extends StatefulWidget {
@override
_HabitTrackerState createState() => _HabitTrackerState();
}
class _HabitTrackerState extends State<HabitTracker> {
List<Map<String, dynamic>> habits = [
{'title': 'Drink Water', 'done': false},
{'title': 'Exercise', 'done': false}
];
void toggleHabit(int i){
setState(()=> habits[i]['done'] = !habits[i]['done']);
}
@override
Widget build(BuildContext context){
return Scaffold(
appBar: AppBar(title: Text('Habit Tracker')),
body: ListView.builder(
itemCount: habits.length,
itemBuilder: (c,i)=>CheckboxListTile(
title: Text(habits[i]['title']),
value: habits[i]['done'],
onChanged: (_) => toggleHabit(i),
)
)
);
}
}FlutterFlow is a low-code visual app builder that enables users to create native iOS, Android, and web applications using a drag-and-drop interface, powered by Google’s Flutter framework.
Origin & Creator
FlutterFlow was created by Abel Mengistu and Alex Greaves, launched in 2021 to simplify Flutter app development for both developers and non-developers.
Industrial Note
FlutterFlow is popular among startup founders, Flutter developers, and product teams building cross-platform applications rapidly with both visual UI editing and optional custom coding.