This commit is contained in:
Patrick Alvin Alcala 2025-02-10 09:51:04 +08:00
parent 4586256032
commit 5840df0879
16 changed files with 45 additions and 61 deletions

View file

@ -94,9 +94,9 @@ class _ListStocksPageState extends State<ListStocksPage> {
const TextWidget(text: 'List of Stocks'),
const Gap(16),
if (_isLoading)
Center(
const Center(
child: CircularProgressIndicator(
color: Colors.white,
color: Color.fromRGBO(255, 255, 255, 1),
))
else if (_stockList.isEmpty)
// TextWidget(text: 'No Stock Listed')
@ -105,11 +105,11 @@ class _ListStocksPageState extends State<ListStocksPage> {
border: Border.all(color: const Color.fromRGBO(205, 59, 208, 0.702), width: 2),
borderRadius: BorderRadius.circular(12),
),
padding: EdgeInsets.symmetric(horizontal: 32, vertical: 16.0),
padding: const EdgeInsets.symmetric(horizontal: 32, vertical: 16.0),
child: Text(
'No Stock Listed',
style: GoogleFonts.outfit(
color: Color.fromRGBO(255, 255, 255, 1),
color: const Color.fromRGBO(255, 255, 255, 1),
fontSize: 14,
fontWeight: FontWeight.normal,
),