Skip to content

Instantly share code, notes, and snippets.

View maheshmnj's full-sized avatar
💭
Bring it on 🔥

Mahesh Jamdade maheshmnj

💭
Bring it on 🔥
View GitHub Profile
@maheshmnj
maheshmnj / filterChip.dart
Last active February 28, 2022 04:34
filter chip sample showing single and multiple chip select
import 'package:flutter/material.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
static const String _title = 'Flutter Code Sample';
@override
@maheshmnj
maheshmnj / android.md
Last active March 12, 2024 03:49
Native Android hacks

Table of Contents

  1. Install apk from Appbundle

  2. App not compatible for android 12 Issue

You uploaded an APK or Android App Bundle which has an activity, activity alias, service or broadcast receiver
with intent filter, but without the 'android:exported' property set. This file can't be installed
on Android 12 or higher. See: developer.android.com/about/versions/12/behavior-changes-12#exported
@maheshmnj
maheshmnj / torch.md
Last active September 14, 2021 05:49
Torch Effect flutter
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
@maheshmnj
maheshmnj / page.dart
Created August 26, 2021 09:25
pageview index not updating
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatefulWidget {
MyApp({Key? key}) : super(key: key);
@override
State<MyApp> createState() => _MyAppState();
}
@maheshmnj
maheshmnj / History|-10d4a976|entries.json
Last active November 2, 2022 03:12
DropDownFormButton builds without setstate Issue: https://github.com/flutter/flutter/issues/85768
{"version":1,"resource":"file:///Users/mahesh/Desktop/flutter3.0_bugdemo/android/build.gradle","entries":[{"id":"AMht.gradle","timestamp":1652781915419}]}
@maheshmnj
maheshmnj / darkmode.dart
Last active March 29, 2024 13:55
Sample code showing dark mode transition similar to Telegram in flutter with circular transition. Blog Post: https://maheshmnj.medium.com/leveraging-clippaths-in-flutter-a5f34c795ae5
class DarkTransition extends StatefulWidget {
const DarkTransition(
{required this.childBuilder,
Key? key,
this.offset = Offset.zero,
this.themeController,
this.radius,
this.duration = const Duration(milliseconds: 400),
this.isDark = false})
: super(key: key);
@maheshmnj
maheshmnj / multidirection.dart
Last active July 24, 2021 11:21
flutter multidirectional listview (tap,scrollXY,zoom)
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
@maheshmnj
maheshmnj / video_list.dart
Created June 22, 2021 07:24
The video feels laggy when trying to play multiple video from network and while 1st video is playing when tried to play second video the first video seems to be buffering.
void main() {
runApp(HomePage());
}
class HomePage extends StatefulWidget {
const HomePage({Key? key}) : super(key: key);
@override
_HomePageState createState() => _HomePageState();
}
@maheshmnj
maheshmnj / Activate Office 2019 for macOS VoL.md
Created June 2, 2021 14:05 — forked from zthxxx/Activate Office 2019 for macOS VoL.md
crack activate office on mac with license file

Activate MS Office 2019/2016 for macOS - Microsoft_Office_2019_VL_Serializer

Office 2019 above

2019-06-03

Note that Office2019 DO NOT support activate via simple copy/paste plist license file which is the simplest way to activate Office 2016. Fortunately, you can also use the VL Serializer tool, just install Office 2019 and Serializer, then run Serializer to activate.

Ref