criada a tela edit_procedures_screen.dart

This commit is contained in:
Reginaldo
2023-03-23 17:51:35 -03:00
parent b3080870aa
commit 9677a9ce71
8 changed files with 371 additions and 8 deletions

View File

@@ -5,10 +5,14 @@ import 'package:rkm/widgets/text_default.dart';
class SubtitleContainers extends StatelessWidget {
String title;
double width;
bool separeted;
double padding;
SubtitleContainers({
required this.title,
this.width = double.infinity
this.width = double.infinity,
this.separeted = true,
this.padding = 10
});
@override
@@ -17,12 +21,12 @@ class SubtitleContainers extends StatelessWidget {
mainAxisSize: MainAxisSize.min,
children: [
Container(
padding: EdgeInsets.all(10),
padding: EdgeInsets.all(padding),
width: width,
color: ColorPalette.white,
child: TextDefault(text: title,color: ColorPalette.black54),
),
Divider(color: Colors.black54,endIndent: 10,indent: 10,)
separeted?Divider(color: Colors.black54,endIndent: 10,indent: 10,):Container()
],
);
}