Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
anim_search_bar
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
anim_search_bar
Commits
a050198b
Commit
a050198b
authored
Oct 27, 2023
by
Rizal Hermawan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add new parameters
parent
b0bd7f6a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lib/src/anim_search_widget.dart
+3
-3
No files found.
lib/src/anim_search_widget.dart
View file @
a050198b
...
@@ -40,7 +40,7 @@ class AnimSearchBar extends StatefulWidget {
...
@@ -40,7 +40,7 @@ class AnimSearchBar extends StatefulWidget {
final
bool
boxShadow
;
final
bool
boxShadow
;
final
Function
(
String
)
onSubmitted
;
final
Function
(
String
)
onSubmitted
;
final
TextStyle
?
helpTextStyle
;
final
TextStyle
?
helpTextStyle
;
final
double
helpTextContentPadding
;
final
EdgeInsetsGeometry
helpTextContentPadding
;
const
AnimSearchBar
({
const
AnimSearchBar
({
Key
?
key
,
Key
?
key
,
...
@@ -95,7 +95,7 @@ class AnimSearchBar extends StatefulWidget {
...
@@ -95,7 +95,7 @@ class AnimSearchBar extends StatefulWidget {
fontSize:
17.0
,
fontSize:
17.0
,
fontWeight:
FontWeight
.
w500
,
fontWeight:
FontWeight
.
w500
,
),
),
this
.
helpTextContentPadding
=
5.0
,
this
.
helpTextContentPadding
=
const
EdgeInsets
.
only
(
bottom:
5.0
)
,
})
:
super
(
key:
key
);
})
:
super
(
key:
key
);
@override
@override
...
@@ -282,7 +282,7 @@ class _AnimSearchBarState extends State<AnimSearchBar>
...
@@ -282,7 +282,7 @@ class _AnimSearchBarState extends State<AnimSearchBar>
:
TextStyle
(
color:
Colors
.
black
),
:
TextStyle
(
color:
Colors
.
black
),
cursorColor:
Colors
.
black
,
cursorColor:
Colors
.
black
,
decoration:
InputDecoration
(
decoration:
InputDecoration
(
contentPadding:
EdgeInsets
.
only
(
bottom:
widget
.
helpTextContentPadding
)
,
contentPadding:
widget
.
helpTextContentPadding
,
isDense:
true
,
isDense:
true
,
floatingLabelBehavior:
FloatingLabelBehavior
.
never
,
floatingLabelBehavior:
FloatingLabelBehavior
.
never
,
labelText:
widget
.
helpText
,
labelText:
widget
.
helpText
,
...
...
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