Skip to content

Instantly share code, notes, and snippets.

View bharathraj-e's full-sized avatar
🦊

Bharathraj bharathraj-e

🦊
View GitHub Profile
@bharathraj-e
bharathraj-e / db-crud.php
Last active August 25, 2020 05:14
PHP DB CRUD CLASS - API Based Structure
<?php
require_once __DIR__ . '/response.php';
require_once __DIR__ . '/db.php';
class CRUD
{
private $db;
public function __construct()
BlockQuote(
outerPadding: const EdgeInsets.all(20),
blockColor: Colors.blueAccent,
blockWidth: 5,
child: Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
children: [
Text(
'Lorem ipsum dolor sit amet, is the best place to hide a text.',
textAlign: TextAlign.justify,
BlockQuote(
child:
Text(
'Lorem ipsum dolor sit amet, is the best place to hide a text.',
textAlign: TextAlign.justify,
),
),
@bharathraj-e
bharathraj-e / main.dart
Last active May 22, 2022 05:50
Expansion panel - single expanded
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
@bharathraj-e
bharathraj-e / jira-board.dart
Created April 12, 2023 18:26
Kanban board / jira borad basic ui in flutter
Scaffold(
appBar: AppBar(
title: const Text('Jira Board'),
),
body: Column(
children: [
Expanded(
child: Row(
children: [
Expanded(
import 'package:flutter/material.dart';
class GameButton extends StatelessWidget {
const GameButton({required this.child, this.color, this.height = 56, this.width, required this.onTap, super.key});
final Widget child;
final Color? color;
final double height;
final double? width;
final VoidCallback onTap;