update carton list and editor
This commit is contained in:
@@ -5,8 +5,11 @@ import 'package:flutter/material.dart';
|
||||
class LocalTitle extends StatelessWidget {
|
||||
final String? textKey;
|
||||
final Widget? trailing;
|
||||
final List<String>? translationVariables;
|
||||
|
||||
const LocalTitle({Key? key, this.textKey, this.trailing}) : super(key: key);
|
||||
const LocalTitle(
|
||||
{Key? key, this.textKey, this.trailing, this.translationVariables})
|
||||
: super(key: key);
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
@@ -17,13 +20,11 @@ class LocalTitle extends StatelessWidget {
|
||||
padding: EdgeInsets.only(top: 18),
|
||||
child: Row(
|
||||
children: [
|
||||
LocalText(
|
||||
context,
|
||||
textKey!,
|
||||
fontSize: 20,
|
||||
fontWeight: FontWeight.bold,
|
||||
color: primaryColor,
|
||||
),
|
||||
LocalText(context, textKey!,
|
||||
fontSize: 20,
|
||||
fontWeight: FontWeight.bold,
|
||||
color: primaryColor,
|
||||
translationVariables: translationVariables),
|
||||
trailing != null ? Spacer() : Container(),
|
||||
trailing != null ? trailing! : Container()
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user