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 + ], + ), + ); + } +}