Compare commits
2 Commits
2545659f12
...
v0.0.1
| Author | SHA1 | Date | |
|---|---|---|---|
| db7160b094 | |||
| f6d493eb4e |
@@ -442,7 +442,7 @@ class _AnalysisScreenContentState extends State<_AnalysisScreenContent> {
|
|||||||
_buildActionButtons(context, provider),
|
_buildActionButtons(context, provider),
|
||||||
|
|
||||||
// Large spacing at the bottom to trigger the state change
|
// Large spacing at the bottom to trigger the state change
|
||||||
const SizedBox(height: 100),
|
const SizedBox(height: 50),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -831,36 +831,37 @@ class _AnalysisScreenContentState extends State<_AnalysisScreenContent> {
|
|||||||
),
|
),
|
||||||
const SizedBox(height: 12),
|
const SizedBox(height: 12),
|
||||||
] else ...[
|
] else ...[
|
||||||
|
// désactiver le temps de l'amelioration du scripts d'auto-detection
|
||||||
// Auto-detect buttons row
|
// Auto-detect buttons row
|
||||||
Row(
|
// Row(
|
||||||
children: [
|
// children: [
|
||||||
Expanded(
|
// Expanded(
|
||||||
child: ElevatedButton.icon(
|
// child: ElevatedButton.icon(
|
||||||
onPressed: () => _showAutoDetectDialog(context, provider),
|
// onPressed: () => _showAutoDetectDialog(context, provider),
|
||||||
icon: const Icon(Icons.auto_fix_high),
|
// icon: const Icon(Icons.auto_fix_high),
|
||||||
label: const Text('Auto-Detection'),
|
// label: const Text('Auto-Detection'),
|
||||||
style: ElevatedButton.styleFrom(
|
// style: ElevatedButton.styleFrom(
|
||||||
backgroundColor: AppTheme.primaryColor,
|
// backgroundColor: AppTheme.primaryColor,
|
||||||
foregroundColor: Colors.white,
|
// foregroundColor: Colors.white,
|
||||||
padding: const EdgeInsets.symmetric(vertical: 12),
|
// padding: const EdgeInsets.symmetric(vertical: 12),
|
||||||
),
|
// ),
|
||||||
),
|
// ),
|
||||||
),
|
// ),
|
||||||
const SizedBox(width: 12),
|
// const SizedBox(width: 12),
|
||||||
Expanded(
|
// Expanded(
|
||||||
child: ElevatedButton.icon(
|
// child: ElevatedButton.icon(
|
||||||
onPressed: () => setState(() => _isSelectingReferences = true),
|
// onPressed: () => setState(() => _isSelectingReferences = true),
|
||||||
icon: const Icon(Icons.touch_app),
|
// icon: const Icon(Icons.touch_app),
|
||||||
label: const Text('Par Reference'),
|
// label: const Text('Par Reference'),
|
||||||
style: ElevatedButton.styleFrom(
|
// style: ElevatedButton.styleFrom(
|
||||||
backgroundColor: Colors.deepPurple,
|
// backgroundColor: Colors.deepPurple,
|
||||||
foregroundColor: Colors.white,
|
// foregroundColor: Colors.white,
|
||||||
padding: const EdgeInsets.symmetric(vertical: 12),
|
// padding: const EdgeInsets.symmetric(vertical: 12),
|
||||||
),
|
// ),
|
||||||
),
|
// ),
|
||||||
),
|
// ),
|
||||||
],
|
// ],
|
||||||
),
|
// ),
|
||||||
const SizedBox(height: 12),
|
const SizedBox(height: 12),
|
||||||
],
|
],
|
||||||
// Manual actions
|
// Manual actions
|
||||||
|
|||||||
@@ -39,15 +39,16 @@ class _CaptureScreenState extends State<CaptureScreen> {
|
|||||||
child: Column(
|
child: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||||
children: [
|
children: [
|
||||||
|
// TODO: une fois la cible de silhouette mise en place, rajouter le selecteur
|
||||||
// Target type selection
|
// Target type selection
|
||||||
_buildSectionTitle('Type de Cible'),
|
// _buildSectionTitle('Type de Cible'),
|
||||||
const SizedBox(height: 12),
|
// const SizedBox(height: 12),
|
||||||
TargetTypeSelector(
|
// TargetTypeSelector(
|
||||||
selectedType: _selectedType,
|
// selectedType: _selectedType,
|
||||||
onTypeSelected: (type) {
|
// onTypeSelected: (type) {
|
||||||
setState(() => _selectedType = type);
|
// setState(() => _selectedType = type);
|
||||||
},
|
// },
|
||||||
),
|
// ),
|
||||||
const SizedBox(height: AppConstants.largePadding),
|
const SizedBox(height: AppConstants.largePadding),
|
||||||
|
|
||||||
// Image source selection
|
// Image source selection
|
||||||
|
|||||||
Reference in New Issue
Block a user