Skip to content

Instantly share code, notes, and snippets.

View manthri-mohan-sai's full-sized avatar
👨‍💻
Coding

Mohan Sai Manthri manthri-mohan-sai

👨‍💻
Coding
  • 07:32 (UTC +05:30)
View GitHub Profile
@manthri-mohan-sai
manthri-mohan-sai / list_tile_overflow_fix.dart
Last active August 20, 2021 10:30
Fixing overflow in listtile subtiltle
import 'package:flutter/material.dart';
const Color darkBlue = Color.fromARGB(255, 18, 32, 47);
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
@manthri-mohan-sai
manthri-mohan-sai / swipe_to_dismiss.dart
Created August 20, 2021 05:11
Testing swipe to dismiss functionality.
import 'package:flutter/material.dart';
import 'dart:math' as math;
void main() {
runApp(MyApp());
}
class MyApp extends StatefulWidget {
// This widget is the root of your application.
@manthri-mohan-sai
manthri-mohan-sai / icon_button.dart
Created August 19, 2021 04:29
Simple Icon Button with Favorite icon.
import 'package:flutter/material.dart';
const Color darkBlue = Color.fromARGB(255, 18, 32, 47);
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override