update
This commit is contained in:
parent
e9b0e93f43
commit
7b4720f871
2 changed files with 21 additions and 15 deletions
16
README.md
16
README.md
|
@ -1,16 +1,2 @@
|
||||||
# cdb_ui
|
# cdb_ui
|
||||||
|
This repository contains the UI frontend for [cdb](https://git.hydrar.de/red/cdb).
|
||||||
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.
|
|
||||||
|
|
20
lib/pages/transaction.dart
Normal file
20
lib/pages/transaction.dart
Normal file
|
@ -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
|
||||||
|
],
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue