From 7b4720f8710daa43cb9f393762ea93e5ac1f7e48 Mon Sep 17 00:00:00 2001 From: JMARyA Date: Fri, 20 Sep 2024 09:24:22 +0200 Subject: [PATCH] update --- README.md | 16 +--------------- lib/pages/transaction.dart | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 15 deletions(-) create mode 100644 lib/pages/transaction.dart diff --git a/README.md b/README.md index c5898d0..e51cada 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,2 @@ # cdb_ui - -A new Flutter project. - -## Getting Started - -This project is a starting point for a Flutter application. - -A few resources to get you started if this is your first Flutter project: - -- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab) -- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook) - -For help getting started with Flutter development, view the -[online documentation](https://docs.flutter.dev/), which offers tutorials, -samples, guidance on mobile development, and a full API reference. +This repository contains the UI frontend forĀ [cdb](https://git.hydrar.de/red/cdb). diff --git a/lib/pages/transaction.dart b/lib/pages/transaction.dart new file mode 100644 index 0000000..9cf28ae --- /dev/null +++ b/lib/pages/transaction.dart @@ -0,0 +1,20 @@ +import 'package:cdb_ui/api.dart'; +import 'package:flutter/material.dart'; + +class TransactionPage extends StatelessWidget { + late Transaction transaction; + + TransactionPage(this.transaction); + + @override + Widget build(BuildContext context) { + return Scaffold( + body: Column( + children: [ + // todo : transaction properties + // todo : chart with price history + ], + ), + ); + } +}