Skip to content

Instantly share code, notes, and snippets.

View Oluflourish's full-sized avatar

Olu-Flourish Emmanuel Oluflourish

View GitHub Profile
@Oluflourish
Oluflourish / constants.dart
Created March 7, 2022 18:25
Customised Bar Chart (FL Chart)
enum ChartType { day, week, month, quarter, year }
class AppConstants {
static const String platformName = "GetTreasure Pro";
static const String privacyUrl =
"https://treasure-core-ui.vercel.app/privacy?hideNav=true";
static const String termsUrl =
"https://treasure-core-ui.vercel.app/terms?hideNav=true";
// Sample Data for transactions
@Oluflourish
Oluflourish / custom_text_form_field.dart
Created February 2, 2022 10:19
CustomTextFormField
import 'package:flutter/material.dart';
class CustomTextFormField extends StatelessWidget {
final TextStyle? textFormFieldStyle;
final TextStyle? hintTextStyle;
final BorderStyle borderStyle;
final double borderRadius;
final double borderWidth;
final double contentPaddingHorizontal;
final double contentPaddingVertical;
@Oluflourish
Oluflourish / transition_appbar.dart
Created September 21, 2021 14:32
Transition AppBar
class TransitionAppBar extends StatelessWidget {
final Widget avatar;
final String title;
final double extent;
TransitionAppBar({this.avatar, this.title, this.extent = 250, Key key})
: super(key: key);
@override
Widget build(BuildContext context) {