GlassWidgets class
Pre-built glass widgets for common use cases
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
floatingActionButton(
{required VoidCallback onPressed, required IconData icon, GlassType type = GlassType.vibrant, Color? iconColor}) → Widget - Glass floating action button
-
imageOverlay(
{required Widget child, String? title, String? subtitle, List< Widget> ? actions, GlassType type = GlassType.smoky, AlignmentGeometry alignment = Alignment.bottomCenter}) → Widget - Glass image overlay
-
loading(
{String? message, GlassType type = GlassType.frosted, Color? color}) → Widget - Glass loading indicator
-
notification(
{required String title, required String message, IconData? icon, VoidCallback? onTap, VoidCallback? onDismiss, GlassType type = GlassType.crystal}) → Widget - Glass notification banner
-
progressIndicator(
{required double progress, String? label, GlassType type = GlassType.frosted, Color? progressColor}) → Widget - Glass progress indicator
-
searchBar(
{String? hintText, TextEditingController? controller, dynamic onChanged(String)?, VoidCallback? onClear, GlassType type = GlassType.frosted}) → Widget - Glass search bar
-
tabBar(
{required List< String> tabs, required int selectedIndex, required dynamic onTabSelected(int), GlassType type = GlassType.crystal}) → Widget - Glass tab bar
-
tooltip(
{required String message, required Widget child, GlassType type = GlassType.smoky}) → Widget - Glass tooltip