Skip to content

Instantly share code, notes, and snippets.

View ManavSarkar's full-sized avatar
🎯
Focusing

Manav Sarkar ManavSarkar

🎯
Focusing
View GitHub Profile
@ManavSarkar
ManavSarkar / main.dart
Last active May 15, 2023 10:23
a ListView.custom widget example by allaboutflutter
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
// This widget is the root of your application.
@ManavSarkar
ManavSarkar / main.dart
Created May 15, 2023 10:17
a listview.builder widget example by allaboutflutter
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
// This widget is the root of your application.
@ManavSarkar
ManavSarkar / main.dart
Last active May 15, 2023 10:14
a listview.builder widget example by allaboutflutter
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
// This widget is the root of your application.
@ManavSarkar
ManavSarkar / main.dart
Created May 15, 2023 10:06
a simple listvtview widget example by allaboutflutter
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
// This widget is the root of your application.
@ManavSarkar
ManavSarkar / main.dart
Created April 6, 2023 15:40
http flutter
import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
@ManavSarkar
ManavSarkar / main.dart
Created March 27, 2023 15:39
AboutListTile Widget Tutorial
// AllAboutFlutter.com
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
@ManavSarkar
ManavSarkar / main.dart
Created February 23, 2023 07:59
Card Widget Tutorial
// AllAboutFlutter.com
// Card widget tutorial
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
@ManavSarkar
ManavSarkar / main.dart
Created February 8, 2023 08:44
About Dialog Tutorial AllAboutFlutter
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
@ManavSarkar
ManavSarkar / main.dart
Last active February 5, 2023 16:13
Hero Widget in Flutter AllAboutFlutter.com
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return const MaterialApp(
title: 'Hero Animation',
home: HeroTutorial(),
@ManavSarkar
ManavSarkar / main.dart
Last active December 27, 2022 14:41
Slider widget tutorial
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
// This widget is the root of your application.