added proper editor buttons to prj card, APP BROKEN HERE.
This commit is contained in:
@@ -2,6 +2,7 @@ import "package:flutter/material.dart";
|
||||
import "package:prod/models/editor.dart";
|
||||
import "package:prod/models/globalModel.dart";
|
||||
import "package:prod/models/project.dart";
|
||||
import "package:prod/widgets/launcherButton.dart";
|
||||
import "package:provider/provider.dart";
|
||||
import "package:yaru/yaru.dart";
|
||||
import "package:process_run/shell.dart";
|
||||
@@ -75,31 +76,10 @@ class ProjectCard extends StatelessWidget {
|
||||
Row(
|
||||
children: [
|
||||
Column(
|
||||
children: [
|
||||
Expanded(
|
||||
flex: 1,
|
||||
child: TextButton(child: Text("Ze"), onPressed: () {}),
|
||||
),
|
||||
Expanded(
|
||||
flex: 1,
|
||||
child: TextButton(child: Text("Ze"), onPressed: () {}),
|
||||
),
|
||||
],
|
||||
children: [LauncherButton(prj.e0), LauncherButton(prj.e1)],
|
||||
),
|
||||
Column(
|
||||
children: [
|
||||
Expanded(
|
||||
child: TextButton(child: Text("Ze"), onPressed: () {}),
|
||||
),
|
||||
true
|
||||
? Expanded(
|
||||
child: TextButton(
|
||||
child: Text("Ze"),
|
||||
onPressed: () {},
|
||||
),
|
||||
)
|
||||
: Container(),
|
||||
],
|
||||
children: [LauncherButton(prj.e2), LauncherButton(prj.e3)],
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user