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(
|
final snackBar = SnackBar(
|
||||||
behavior: SnackBarBehavior.floating,
|
behavior: SnackBarBehavior.floating,
|
||||||
duration: duration == null ? Duration(milliseconds: 1500) : Duration(milliseconds: duration),
|
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,
|
backgroundColor: backgroundColor,
|
||||||
shape: RoundedRectangleBorder(
|
shape: RoundedRectangleBorder(
|
||||||
borderRadius: BorderRadius.circular(10.0),
|
borderRadius: BorderRadius.circular(10.0),
|
||||||
|
|||||||
@ -168,7 +168,6 @@ class _TranslationInputContainerState extends State<TranslationInputContainer> w
|
|||||||
] : [
|
] : [
|
||||||
ToolBarStyle.bold,
|
ToolBarStyle.bold,
|
||||||
ToolBarStyle.italic,
|
ToolBarStyle.italic,
|
||||||
ToolBarStyle.align,
|
|
||||||
ToolBarStyle.color,
|
ToolBarStyle.color,
|
||||||
ToolBarStyle.background,
|
ToolBarStyle.background,
|
||||||
ToolBarStyle.listBullet,
|
ToolBarStyle.listBullet,
|
||||||
|
|||||||
@ -50,6 +50,9 @@ class _ListViewCard extends State<ListViewCardImage> {
|
|||||||
HtmlWidget(
|
HtmlWidget(
|
||||||
widget.listItems[widget.index].title == null ? "" : widget.listItems[widget.index].title![0].value!,
|
widget.listItems[widget.index].title == null ? "" : widget.listItems[widget.index].title![0].value!,
|
||||||
//textAlign: TextAlign.left,
|
//textAlign: TextAlign.left,
|
||||||
|
customStylesBuilder: (element) {
|
||||||
|
return {'text-align': 'center'};
|
||||||
|
},
|
||||||
textStyle: TextStyle(fontSize: 15)
|
textStyle: TextStyle(fontSize: 15)
|
||||||
),
|
),
|
||||||
/*AutoSizeText(
|
/*AutoSizeText(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user