masamune_universal_ui library
The package provide a universal UI that aims to be written in one code on any platform.
To use, import package:masamune_universal_ui/masamune_universal_ui.dart.
Classes
- AutoDrawerSettings
- This is given when generating a Drawer within UniversalScaffold.
- BreakpointSettings
- Sets breakpoints for the grid.
- PrecacheImageMasamuneAdapter
- An adapter that allows you to precache images.
- RefreshIndicatorScrollPhysics
- ScrollPhysics for pull-to-refresh at a fixed location.
- Responsive
- Specify responsive columns.
- ResponsiveEdgeInsets
-
EdgeInsets for
MasamuneUniversalUI. - UniversalAppBar
- Create an AppBar to provide a consistent UI across web, desktop, and mobile.
- UniversalAppBarBackground
- AppBar background widget available in UniversalAppBar.
- UniversalAppBarTitle
- A widget that changes the color of the title according to the scroll position.
- UniversalAvatarSliverAppBar
- Create an AppBar to provide a consistent UI across web, desktop, and mobile.
- UniversalCircularProgressIndicator
- A Material Design circular progress indicator, which spins to indicate that the application is busy.
- UniversalColumn
- Create responsive columns.
- UniversalContainer
- Create a container that is responsive.
- UniversalExtentAppBar
- Extended size AppBar.
- UniversalGridView
- Create GridView to provide a consistent UI across web, desktop, and mobile.
- UniversalHeaderTile
- Tiles that can be used as headers for profiles, etc.
- UniversalLinearProgressIndicator
- A Material Design linear progress indicator, also known as a progress bar.
- UniversalListView
- Create ListView to provide a consistent UI across web, desktop, and mobile.
- UniversalMasamuneAdapter
-
An adapter that allows you to define initial settings for using
Masamune Universal UI. - UniversalPadding
- A widget that adds padding to its child.
- UniversalScaffold
- Create Scaffold to provide a consistent UI across web, desktop and mobile.
- UniversalScaffoldScope
- Scope for retrieving information in UniversalScaffold.
-
UniversalSearchBar<
T> - Create a search bar.
- UniversalSideBar
- Create a sidebar for Universal UI.
- UniversalSliverAppBar
- Create an AppBar to provide a consistent UI across web, desktop, and mobile.
- UniversalWidgetScope
- Widget to disable child padding when UniversalListView or UniversalContainer installed in Body is installed in duplicate.
Enums
- AutomaticallyImplyLeadingType
-
Specify whether to automatically set IconButton to
leadingof AppBar. - Breakpoint
- Specifies the size of the container.
- LaunchMode
- The desired mode to launch a URL.
- ResponsiveGridTier
- Determines which GridTier it belongs to based on the current screen size.
- UniversalAppBarScrollStyle
- Specify the scrolling method in UniversalSliverAppBar.
- UniversalAppBarTitlePosition
- Specify the position of the title to be used in UniversalSliverAppBar.
Mixins
- SliverAppBarMixin
- Mix-in to be used as a Sliver-like AppBar.
- UniversalAppBarMixin
- Mix-in to be used as UniversalAppBar.
Extensions
- MasamuneResponsiveEdgeInsetsExtensions on EdgeInsets
- Define extension methods for EdgeInsets in Universal UI.
- MasamuneUniversalBuildContextExtensions on BuildContext
- Define extension methods for BuildContext in Universal UI.
-
ResponsiveColExtensions
on Iterable<
Widget> - Provides an extension method for Iterable that includes Widget as an element.
Constants
- kDefaultExpandedHeight → const double
- Default height of SliverAppBar.
- kDefaultUnderBottomHeight → const double
- This is the default height below the avatar image in UniversalAvatarSliverAppBar.
- kDefaultVerticalPadding → const double
- Default vertical padding.
- kSideBarWidth → const double
- Default width of the sidebar.