File tree Expand file tree Collapse file tree 1 file changed +18
-20
lines changed
patterns/adapter/flutter_adapter/client_app/widgets Expand file tree Collapse file tree 1 file changed +18
-20
lines changed Original file line number Diff line number Diff line change @@ -20,26 +20,24 @@ class TextPropertyWidget extends StatelessWidget {
2020 return SubscriberWidget <RepaintEvent >(
2121 observer: app.events,
2222 builder: (context, event) {
23- return Container (
24- child: Row (
25- mainAxisAlignment: MainAxisAlignment .center,
26- children: [
27- SliderWidget (
28- current: app.textColoring.size,
29- max: app.textColoring.maxTextSize,
30- onChange: (newVal) {
31- app.textColoring.size = newVal;
32- },
33- ),
34- ColorButtonsWidget (
35- currentColor: app.textColoring.color,
36- colors: app.colorRules.colors,
37- onColorSelect: (color) {
38- app.textColoring.color = color;
39- },
40- ),
41- ],
42- ),
23+ return Row (
24+ mainAxisAlignment: MainAxisAlignment .center,
25+ children: [
26+ SliderWidget (
27+ current: app.textColoring.size,
28+ max: app.textColoring.maxTextSize,
29+ onChange: (newVal) {
30+ app.textColoring.size = newVal;
31+ },
32+ ),
33+ ColorButtonsWidget (
34+ currentColor: app.textColoring.color,
35+ colors: app.colorRules.colors,
36+ onColorSelect: (color) {
37+ app.textColoring.color = color;
38+ },
39+ ),
40+ ],
4341 );
4442 },
4543 );
You can’t perform that action at this time.
0 commit comments