Package: animate_do
Package: english_words
Package: animate_do, english_words 사용 예시
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: PageView.builder(
itemCount: nouns.length,
itemBuilder: (context, index) {
return ZoomIn(
child: Center(
child: Text(
nouns[index],
style: TextStyle(fontSize: 36, fontWeight: FontWeight.bold),
)),
);
},
),
),
);
}
}
Package: badges


Badge(
label: Text('A'),
offset: Offset(0, -10),
child: Text(
nouns[index],
style: TextStyle(fontSize: 36, fontWeight: FontWeight.bold),
),
)
Package: fluttertoast
TextButton(
onPressed: () {
Fluttertoast.showToast(
msg: "This is Center Short Toast",
toastLength: Toast.LENGTH_SHORT,
gravity: ToastGravity.CENTER,
timeInSecForIosWeb: 1,
backgroundColor: Colors.red,
textColor: Colors.white,
fontSize: 16.0);
},
child: Text('button'),
)
Package: font_awesome_flutter
FaIcon(FontAwesomeIcons.airbnb)
Package: animated_bottom_navigation_bar

floatingActionButton: FloatingActionButton(
onPressed: () {
_pageController.nextPage(
duration: Duration(milliseconds: 500), curve: Curves.linear);
},
child: Icon(Icons.arrow_forward_ios),
),
floatingActionButtonLocation: FloatingActionButtonLocation.centerDocked,
bottomNavigationBar: AnimatedBottomNavigationBar(
icons: [
Icons.add,
Icons.add,
Icons.add,
Icons.add,
],
activeIndex: 1,
gapLocation: GapLocation.center,
onTap: (_) {
print(_);
},
),