native_scaffold 1.0.2
native_scaffold: ^1.0.2 copied to clipboard
This is a Popular, Simple and Easy to use Flutter Package to create Native Scaffold for both Android and iOS.
How to get startedβ π€ #
You can simply add the dependency from cli like:
flutter pub add native_scaffold
Or you can add it in your pubspec.yaml like:
dependencies:
native_scaffold:
What is different? #
Title | Scaffold | CustomScaffold |
---|---|---|
Gives you basic AppBar and Scaffold functionalities | β | β |
Easy to use and setup | ππ» | β |
Works differently for a better experiance in Android and iOS | ππ» | β |
Easy to add sliver scroll animation | ππ» | β |
Allows you to add a bottom floating bar | ππ» | β |
Can easily use onRefresh function |
ππ» | β |
How to useβ π€ #
Using it is as easy as create a Container, Don't beleave? Let me show you:
NativeScaffold(
title: "This is easy",
child: ...,
);
Additional Params (Optional) #
-
title
: The title for the app bar or navigation bar. -
action
: An action widget displayed at the end of the app bar or navigation bar. -
leading
: A leading widget displayed at the start of the app bar or navigation bar. -
child
: The main content of the scaffold. -
showLoargeTitleInIOS
: Whether to show a large title on iOS. This shall only be used on iOS. -
sliverAppBarPinned
: Whether to pin the SliverAppBar in place when scrolling. This shall only be used on Android. -
onRefresh
: A function to be called when the refresh gesture is triggered. -
sliverAppBarWidget
: A custom SliverAppBar widget. This shall only be used on Android. -
appBarCenterWidget
: A widget to be displayed in the center of the app bar. -
sliverAppBarWidgetHeight
: The height of the custom SliverAppBar widget. -
bottomFloatingBar
: A widget to be used as the bottom navigation bar. -
backgroundColor
: The background color of the scaffold. -
appBarEnabled
: Whether the app bar should be enabled.
This is what Zenzzen Team made for you specially π, Now it's your responsibility to make ground-breaking app that rocks π€π»