Fix snackbar + remove align from quill + add alignment for slider (title preview)
This commit is contained in:
parent
3a29ec8715
commit
39bc7ca20e
@ -4,7 +4,7 @@ showNotification (Color backgroundColor, Color textColor, String text, BuildCont
|
||||
final snackBar = SnackBar(
|
||||
behavior: SnackBarBehavior.floating,
|
||||
duration: duration == null ? Duration(milliseconds: 1500) : Duration(milliseconds: duration),
|
||||
width: 280.0, // Width of the SnackBar.
|
||||
width: 320.0, // Width of the SnackBar.
|
||||
backgroundColor: backgroundColor,
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(10.0),
|
||||
|
||||
@ -168,7 +168,6 @@ class _TranslationInputContainerState extends State<TranslationInputContainer> w
|
||||
] : [
|
||||
ToolBarStyle.bold,
|
||||
ToolBarStyle.italic,
|
||||
ToolBarStyle.align,
|
||||
ToolBarStyle.color,
|
||||
ToolBarStyle.background,
|
||||
ToolBarStyle.listBullet,
|
||||
|
||||
@ -50,6 +50,9 @@ class _ListViewCard extends State<ListViewCardImage> {
|
||||
HtmlWidget(
|
||||
widget.listItems[widget.index].title == null ? "" : widget.listItems[widget.index].title![0].value!,
|
||||
//textAlign: TextAlign.left,
|
||||
customStylesBuilder: (element) {
|
||||
return {'text-align': 'center'};
|
||||
},
|
||||
textStyle: TextStyle(fontSize: 15)
|
||||
),
|
||||
/*AutoSizeText(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user