This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) { |