Skip to content

Instantly share code, notes, and snippets.

View qisantanu's full-sized avatar
🏠
Working from home

Santanu Bhattacharya qisantanu

🏠
Working from home
View GitHub Profile
@qisantanu
qisantanu / documentation_tool.md
Last active August 3, 2023 12:02
Documentation generation tool
@qisantanu
qisantanu / main.dart
Created July 4, 2023 07:49
Riverpod sample
// Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file
// for details. 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';
import 'package:flutter_riverpod/flutter_riverpod.dart';
// This is a reimplementation of the default Flutter application
// using riverpod.
void main() {
@qisantanu
qisantanu / serialize.dart
Created July 3, 2023 16:40
JSON and serialization in Dart
import 'dart:convert';
import 'dart:core';
void main() {
var x = {
'data': [
{'id': 1, 'attributes': {'name': "R"}}, {'id': 2, 'attributes': {'name': "S"}}
]
};
@qisantanu
qisantanu / Basic_interview.md
Last active August 18, 2023 09:30
Basic_interview