Skip to content

Instantly share code, notes, and snippets.

View tejaswini-dev-techie's full-sized avatar
🎯
Focusing

Tejaswini D tejaswini-dev-techie

🎯
Focusing
  • Bangalore
View GitHub Profile
@tejaswini-dev-techie
tejaswini-dev-techie / step_tracker.dart
Last active February 13, 2025 15:25
A CustomPainter implementation in Flutter to create a dynamic step-based progress indicator. The widget supports customizable step counts, filled progress, and tick marks for completed steps. It adapts to different widths and can be easily integrated into any Flutter project. Ideal for onboarding flows, step-based tracking, and progress visualiz…
import 'package:flutter/material.dart';
import 'dart:ui' as ui;
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@tejaswini-dev-techie
tejaswini-dev-techie / circular_progress_steps.dart
Last active February 13, 2025 15:26
A Flutter CustomPainter implementation for a step-based progress indicator. This widget dynamically renders a progress bar with circles representing steps. Completed steps are filled, and previous steps display a tick mark. The current step is numbered inside the circle. Fully customizable for different step counts and progress states.
import 'package:flutter/material.dart';
import 'dart:ui' as ui;
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@tejaswini-dev-techie
tejaswini-dev-techie / step_wise_progress_indicator.dart
Last active February 13, 2025 15:27
A custom progress bar with a linear fill and dynamic step positioning.
import 'package:flutter/material.dart';
import 'dart:ui' as ui;
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@tejaswini-dev-techie
tejaswini-dev-techie / custom_stepper.dart
Last active February 13, 2025 15:27
A Flutter CustomPainter implementation for a step-based progress indicator. It visually represents progress through a linear progress bar with rounded milestones. As progress advances, the corresponding circles are filled, and checkmarks are drawn for completed steps, excluding the last one. Ideal for use cases like task completion tracking, onb…
import 'package:flutter/material.dart';
import 'dart:ui' as ui;
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@tejaswini-dev-techie
tejaswini-dev-techie / linear_custom_step_indicator.dart
Last active February 13, 2025 15:28
A Flutter CustomPainter for a step-based progress indicator with a linear progress bar and circular milestones. The filled steps include checkmarks, making it ideal for onboarding flows, task completion trackers, or progress indicators in apps. The number of filled steps is dynamically adjustable.
import 'package:flutter/material.dart';
import 'dart:ui' as ui;
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@tejaswini-dev-techie
tejaswini-dev-techie / animated_count_up_timer.dart
Created November 15, 2024 10:05
Flutter animated timer that counts up smoothly with dynamic transitions
import 'package:flutter/material.dart';
import 'dart:async';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@tejaswini-dev-techie
tejaswini-dev-techie / animated_count_down_timer.dart
Created November 15, 2024 08:29
Building a Countdown Timer in Flutter
import 'dart:async';
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@tejaswini-dev-techie
tejaswini-dev-techie / total_video_count.dart
Created August 2, 2024 10:50
Total Video Count Calculator: Summing up all videos across modules
void main() {
List<Map<String, dynamic>> sampleData = [
{
"module_id": "7",
"module_title": "Introduction",
"videos": [
{"sn_no": 1, "sno": "01", "video_id": "1668"},
{"sn_no": 2, "sno": "02", "video_id": "4"},
{"sn_no": 3, "sno": "03", "video_id": "38"},
{"sn_no": 4, "sno": "04", "video_id": "39"}
@tejaswini-dev-techie
tejaswini-dev-techie / trimmed_list.dart
Last active August 2, 2024 10:46
Extracting a limited number of videos data from Sample List Data
void main() {
int limit = 7;
List<Map<String, dynamic>> sampleListData = [
{
"module_id": "7",
"module_title": "Introduction",
"videos": [
{"sn_no": 1, "sno": "01", "video_id": "1668"},
{"sn_no": 2, "sno": "02", "video_id": "4"},
{"sn_no": 3, "sno": "03", "video_id": "38"},
@tejaswini-dev-techie
tejaswini-dev-techie / dynamic_star_pattern_with_variable_count.dart
Last active August 2, 2024 10:58
Dynamic Star Patterns with Adjustable Star Count in Flutter
import 'package:flutter/material.dart';
import 'dart:ui' as ui;
import 'dart:math';
void main() {
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
const MyApp({super.key});