Created
April 13, 2021 10:33
-
-
Save furkantoptass/10416540c7afb76f31661df853139a13 to your computer and use it in GitHub Desktop.
Hata çözümü
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
appBar: AppBar( | |
title: Text("Webmaster.Kitchen"), | |
backgroundColor: Colors.deepOrangeAccent, | |
), | |
body: Padding( | |
padding: const EdgeInsets.only(top: 58.0, right: 10, left: 10), | |
/// In AnimSearchBar widget, the width, textController, onSuffixTap are required properties. | |
/// You have also control over the suffixIcon, prefixIcon, helpText and animationDurationInMilli | |
child: AnimSearchBar( | |
width: 400, | |
textController: textController, | |
onSuffixTap: () { | |
setState(() { | |
textController.clear(); | |
}); | |
}, | |
), | |
), | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment