Skip to content

Instantly share code, notes, and snippets.

View kumar-aakash86's full-sized avatar

Aakash Kumar kumar-aakash86

View GitHub Profile
@kumar-aakash86
kumar-aakash86 / main.dart
Last active October 8, 2024 15:42
Animated Play/Pause Button
// Copyright 2019 the Dart project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file.
import 'package:flutter/material.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({super.key});
@kumar-aakash86
kumar-aakash86 / main.dart
Created November 20, 2024 11:48
Dart Async Programming
//https://dartpad.dev/?id=53c529ef49cb95ed35294d4afe3a7179
void main() {
print('Fetching data...');
// fetchData();
// String data = await fetchDataAsync();
// print(data);
// connectStream();
print('Doing other work...');
}