Rename historyElements to historyListBuilder class and file

This commit is contained in:
poka 2021-01-08 00:21:32 +01:00
parent 7df494baf7
commit 24704a40be
2 changed files with 4 additions and 4 deletions

View File

@ -18,12 +18,12 @@ import 'package:truncate/truncate.dart';
// } // }
// } // }
class HistoryElements extends StatelessWidget { class HistoryListBuilder extends StatelessWidget {
// const String({this.isPubkey}); // const String({this.isPubkey});
// final PubkeyCallBack isPubkey; // final PubkeyCallBack isPubkey;
// GlobalKey<MyState> _myKey = GlobalKey(); // GlobalKey<MyState> _myKey = GlobalKey();
const HistoryElements( const HistoryListBuilder(
{Key key, {Key key,
@required ScrollController scrollController, @required ScrollController scrollController,
@required this.transBC, @required this.transBC,

View File

@ -1,7 +1,7 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter/foundation.dart'; import 'package:flutter/foundation.dart';
import 'package:qrscan/qrscan.dart' as scanner; import 'package:qrscan/qrscan.dart' as scanner;
import 'package:gecko/ui/historyElements.dart'; import 'package:gecko/ui/historyListBuilder.dart';
import 'dart:async'; import 'dart:async';
import 'dart:typed_data'; import 'dart:typed_data';
import 'dart:ui'; import 'dart:ui';
@ -183,7 +183,7 @@ class HistoryScreenState extends State<HistoryScreen> {
List _transBC = parseHistory(blockchainTX); List _transBC = parseHistory(blockchainTX);
return Expanded( return Expanded(
child: HistoryElements( child: HistoryListBuilder(
scrollController: _scrollController, scrollController: _scrollController,
transBC: _transBC, transBC: _transBC,
historyData: result), historyData: result),