D1APP-94 caption style added to pageview

This commit is contained in:
MohammadTaha Basiri 2022-02-11 20:15:45 +03:30
parent 63f9c3e658
commit 5b578540a5
1 changed files with 5 additions and 1 deletions

View File

@ -187,10 +187,14 @@ class _DidvanPageViewState extends State<DidvanPageView> {
'*': Style( '*': Style(
direction: TextDirection.rtl, direction: TextDirection.rtl,
lineHeight: LineHeight.percent(135), lineHeight: LineHeight.percent(135),
// textAlign: TextAlign.justify,
margin: EdgeInsets.zero, margin: EdgeInsets.zero,
padding: EdgeInsets.zero, padding: EdgeInsets.zero,
), ),
'caption': Style(
textAlign: TextAlign.center,
fontSize: FontSize.small,
alignment: Alignment.center,
),
}, },
); );
} }