Created
January 10, 2025 11:52
-
-
Save Lxxyx/12ac99f3d4e861648f82d458729cc84f to your computer and use it in GitHub Desktop.
This file contains hidden or 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'; | |
void main() => runApp(const MyApp()); | |
class MyApp extends StatelessWidget { | |
const MyApp({super.key}); | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
title: 'Crypto Dictionary', | |
debugShowCheckedModeBanner: false, | |
theme: ThemeData( | |
colorSchemeSeed: Colors.blue, | |
), | |
home: const CryptoDictionary(), | |
); | |
} | |
} | |
class CryptoDictionary extends StatelessWidget { | |
const CryptoDictionary({super.key}); | |
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
appBar: AppBar( | |
title: const Text('Crypto Dictionary'), | |
), | |
body: ListView.builder( | |
itemCount: cryptoWords.length, | |
itemBuilder: (context, index) { | |
return ListTile( | |
title: Text(cryptoWords.keys.elementAt(index)), | |
subtitle: Text(cryptoWords.values.elementAt(index)), | |
); | |
}, | |
), | |
); | |
} | |
final Map<String, String> cryptoWords = { | |
'HODL': 'Hold On for Dear Life, a term used to encourage investors to hold onto their cryptocurrency during market volatility.', | |
'FUD': 'Fear, Uncertainty, and Doubt, a term used to describe negative sentiment or misinformation about a particular cryptocurrency or the market as a whole.', | |
'ATH': 'All-Time High, the highest price a cryptocurrency has ever reached.', | |
'DeFi': 'Decentralized Finance, a term used to describe financial services and systems that operate on blockchain technology.', | |
'NFT': 'Non-Fungible Token, a unique digital asset that represents ownership of a specific item or asset.', | |
'ICO': 'Initial Coin Offering, a type of fundraising event where a project sells tokens to investors in exchange for cryptocurrency or fiat currency.', | |
'KYC': 'Know Your Customer, a process used to verify the identity of customers, often used in cryptocurrency exchanges and other financial institutions.', | |
'Mining': 'The process of solving complex mathematical equations to validate transactions on a blockchain and earn cryptocurrency rewards.', | |
'Satoshi': 'The smallest unit of Bitcoin, equivalent to 0.00000001 BTC, named after the pseudonymous creator of Bitcoin, Satoshi Nakamoto.', | |
'Whale': 'A large-scale investor or trader who holds a significant amount of cryptocurrency and has the potential to influence the market.', | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment