criada a tela edit_procedures_screen.dart
This commit is contained in:
@@ -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()
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user