add carton editor for package
This commit is contained in:
@@ -5,10 +5,11 @@ import 'package:flutter/material.dart';
|
||||
class LocalTitle extends StatelessWidget {
|
||||
final String? textKey;
|
||||
final Widget? trailing;
|
||||
final double topPadding;
|
||||
final List<String>? translationVariables;
|
||||
|
||||
const LocalTitle(
|
||||
{Key? key, this.textKey, this.trailing, this.translationVariables})
|
||||
{Key? key, this.textKey, this.trailing, this.translationVariables,this.topPadding = 18})
|
||||
: super(key: key);
|
||||
|
||||
@override
|
||||
@@ -17,7 +18,7 @@ class LocalTitle extends StatelessWidget {
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Container(
|
||||
padding: EdgeInsets.only(top: 18),
|
||||
padding: EdgeInsets.only(top: topPadding),
|
||||
child: Row(
|
||||
children: [
|
||||
LocalText(context, textKey!,
|
||||
|
||||
Reference in New Issue
Block a user