This repository was archived by the owner on May 27, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +16
-11
lines changed
Expand file tree Collapse file tree 1 file changed +16
-11
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ class DatasetActions extends StatelessWidget {
194194 }
195195
196196 return Padding (
197- padding: const EdgeInsets .only (left : 16.0 ),
197+ padding: const EdgeInsets .symmetric (horizontal : 16.0 ),
198198 child: Row (
199199 mainAxisAlignment: MainAxisAlignment .spaceBetween,
200200 children: < Widget > [
@@ -238,16 +238,21 @@ class DatasetActions extends StatelessWidget {
238238 ),
239239 new Row (
240240 children: < Widget > [
241- modelExists
242- ? IconButton (
243- color: Colors .blueGrey,
244- icon: Icon (Icons .camera_alt),
245- tooltip: 'Run inference on an image' ,
246- onPressed: () async {
247- await _beginModelInferenceAsync (context);
248- },
249- )
250- : Container (),
241+ if (modelExists)
242+ Container (
243+ child: IconButton (
244+ color: Colors .blueGrey,
245+ icon: Icon (Icons .center_focus_weak),
246+ tooltip: 'Run inference on an image' ,
247+ onPressed: () async {
248+ await _beginModelInferenceAsync (context);
249+ },
250+ ),
251+ decoration: BoxDecoration (
252+ border: Border .all (color: Colors .black12, width: 1.0 ),
253+ shape: BoxShape .circle,
254+ ),
255+ )
251256 ],
252257 )
253258 ],
You can’t perform that action at this time.
0 commit comments