simple_loading_view 0.1.0 simple_loading_view: ^0.1.0 copied to clipboard
This project is a sample for simple loading indicator. We can implement indicator simply, also use our custom widgets as indicator. Please check the Example for more details.
loading_view_example #
how to use the loading_view plugin.
Example usage @override Widget build(BuildContext context) { return Scaffold( body: LoadingView( isLoading: isLoading, progressIndicator: IndicatorMap[Indicator.defaultIndicator], child: OutlineButton( child: const Text('Default', semanticsLabel: 'Default'), onPressed: () { indicatorWidget = IndicatorMap[Indicator.defaultIndicator]; // Perform some action setState(() { isLoading = true; }); closeIndicator(); }, )), ); }
Getting Started #
This project is a sample for simple loading indicator.