Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
fluttertpc_get
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
kawal7415
2020-09-09 13:35:21 +0530
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c2913450034bfb15d124c77c2e0b3003b0f9d0a8
c2913450
1 parent
c0d9e894
some minor code reduction
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
14 deletions
lib/src/navigation/snackbar/snack.dart
lib/src/navigation/snackbar/snack.dart
View file @
c291345
...
...
@@ -686,15 +686,12 @@ class _GetBarState<K extends Object> extends State<GetBar>
}
Widget
_getTitleText
()
{
return
widget
.
titleText
!=
null
?
widget
.
titleText
:
Text
(
widget
.
title
??
""
,
style:
TextStyle
(
fontSize:
16.0
,
color:
Colors
.
white
,
fontWeight:
FontWeight
.
bold
),
);
return
widget
.
titleText
??
Text
(
widget
.
title
??
""
,
style:
TextStyle
(
fontSize:
16.0
,
color:
Colors
.
white
,
fontWeight:
FontWeight
.
bold
),
);
}
Text
_getDefaultNotificationText
()
{
...
...
@@ -705,11 +702,7 @@ class _GetBarState<K extends Object> extends State<GetBar>
}
FlatButton
_getMainActionButton
()
{
if
(
widget
.
mainButton
!=
null
)
{
return
widget
.
mainButton
;
}
else
{
return
null
;
}
return
widget
.
mainButton
;
}
}
...
...
Please
register
or
login
to post a comment