Skip to content

Instantly share code, notes, and snippets.

View immadisairaj's full-sized avatar
🚤
Never Ending

Sai Rajendra Immadi immadisairaj

🚤
Never Ending
View GitHub Profile
@immadisairaj
immadisairaj / main.dart
Last active December 29, 2023 07:08
List of items (full screen) in vertical scroll that perfectly snaps into place. (#wheel_list_snap)
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
@immadisairaj
immadisairaj / main.dart
Last active June 22, 2022 09:16
Pixel Wave #FlameEffectsChallenge
import 'package:flame/components.dart';
import 'package:flame/game.dart';
import 'package:flame/effects.dart';
import 'package:flutter/material.dart';
void main() {
runApp(
GameWidget(game: FlameWave()),
);
}
@immadisairaj
immadisairaj / main.dart
Last active June 22, 2022 07:31
DNA Water Wave #FlameEffectsChallenge
import 'package:flame/components.dart';
import 'package:flame/game.dart';
import 'package:flame/effects.dart';
import 'package:flutter/material.dart';
void main() {
runApp(
GameWidget(game: FlameWave()),
);
}
@immadisairaj
immadisairaj / main.dart
Last active July 4, 2022 17:00
Flame Water Wave #FlameEffectsChallenge
import 'package:flame/components.dart';
import 'package:flame/game.dart';
import 'package:flame/effects.dart';
import 'package:flutter/material.dart';
void main() {
runApp(
GameWidget(game: FlameWave()),
);
}
@immadisairaj
immadisairaj / main.dart
Last active April 9, 2024 10:51
SliverAppBar extend only on Top (zero offset)
import 'package:flutter/material.dart';
const Color darkBlue = Color.fromARGB(255, 18, 32, 47);
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override