Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
llswidget
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dart-package
llswidget
Commits
f3865a83
Commit
f3865a83
authored
Jul 23, 2021
by
Rizal Hermawan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat (lls_alert): add titleStyle and subtitleStyle to LLSAlertOptions. Story #1
parent
0cf8ad5c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
lib/src/components/alert/lls_alert.dart
+3
-2
No files found.
lib/src/components/alert/lls_alert.dart
View file @
f3865a83
...
@@ -150,10 +150,12 @@ class _LLSAlertDialogState extends State<LLSAlertDialog> with SingleTickerProvid
...
@@ -150,10 +150,12 @@ class _LLSAlertDialogState extends State<LLSAlertDialog> with SingleTickerProvid
if
(
_options
!.
title
!=
null
)
{
if
(
_options
!.
title
!=
null
)
{
listOfChildren
.
add
(
Padding
(
listOfChildren
.
add
(
Padding
(
padding:
EdgeInsets
.
only
(
top:
24.0
),
padding:
EdgeInsets
.
only
(
top:
24.0
),
child:
Center
(
child:
Text
(
child:
Text
(
_options
!.
title
!,
_options
!.
title
!,
style:
_options
!.
titleStyle
,
style:
_options
!.
titleStyle
,
),
),
),
));
));
}
}
...
@@ -231,8 +233,7 @@ class _LLSAlertDialogState extends State<LLSAlertDialog> with SingleTickerProvid
...
@@ -231,8 +233,7 @@ class _LLSAlertDialogState extends State<LLSAlertDialog> with SingleTickerProvid
child:
Padding
(
child:
Padding
(
padding:
EdgeInsets
.
fromLTRB
(
0.0
,
20.0
,
0.0
,
20.0
),
padding:
EdgeInsets
.
fromLTRB
(
0.0
,
20.0
,
0.0
,
20.0
),
child:
Column
(
child:
Column
(
mainAxisAlignment:
MainAxisAlignment
.
center
,
mainAxisSize:
MainAxisSize
.
min
,
crossAxisAlignment:
CrossAxisAlignment
.
center
,
children:
listOfChildren
,
children:
listOfChildren
,
),
),
)),
)),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment