welcome: added scrollbar to privacy policy
This commit is contained in:
parent
c0bb4ba2a8
commit
7b97ebafca
1 changed files with 21 additions and 9 deletions
|
@ -157,6 +157,16 @@ class _WelcomePageState extends State<WelcomePage> {
|
||||||
constraints: BoxConstraints(maxWidth: 460),
|
constraints: BoxConstraints(maxWidth: 460),
|
||||||
child: ClipRRect(
|
child: ClipRRect(
|
||||||
borderRadius: BorderRadius.circular(16),
|
borderRadius: BorderRadius.circular(16),
|
||||||
|
child: Theme(
|
||||||
|
data: Theme.of(context).copyWith(
|
||||||
|
scrollbarTheme: ScrollbarThemeData(
|
||||||
|
radius: Radius.circular(16),
|
||||||
|
crossAxisMargin: 6,
|
||||||
|
mainAxisMargin: 16,
|
||||||
|
interactive: true,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
child: Scrollbar(
|
||||||
child: Markdown(
|
child: Markdown(
|
||||||
data: terms,
|
data: terms,
|
||||||
selectable: true,
|
selectable: true,
|
||||||
|
@ -168,6 +178,8 @@ class _WelcomePageState extends State<WelcomePage> {
|
||||||
shrinkWrap: true,
|
shrinkWrap: true,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue