mirror of
https://github.com/inventree/inventree-app.git
synced 2025-07-06 22:00:43 +00:00
Link icons (#677)
* Add LinkIcon component * Visual UI updates - Refactor some components - Clearer text display - Add obvious chevron icon when a "tile" will take the user somewhere else * dart format * Adjust release notes * Add visual separator * Cleanup unused imports
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
import "package:flutter/material.dart";
|
||||
import "package:inventree/l10.dart";
|
||||
import "package:inventree/widget/link_icon.dart";
|
||||
import "package:inventree/widget/order/so_line_detail.dart";
|
||||
import "package:inventree/widget/paginator.dart";
|
||||
import "package:inventree/inventree/model.dart";
|
||||
@ -67,11 +68,9 @@ class _PaginatedSOLineListState
|
||||
title: Text(part.name),
|
||||
subtitle: Text(part.description),
|
||||
leading: InvenTreeAPI().getThumbnail(part.thumbnail),
|
||||
trailing: Text(
|
||||
trailing: LargeText(
|
||||
item.progressString,
|
||||
style: TextStyle(
|
||||
color: item.isComplete ? COLOR_SUCCESS : COLOR_WARNING,
|
||||
),
|
||||
color: item.isComplete ? COLOR_SUCCESS : COLOR_WARNING,
|
||||
),
|
||||
onTap: () async {
|
||||
showLoadingOverlay();
|
||||
|
Reference in New Issue
Block a user