Flutter Dart R

Last Updated Flutter Version GitHub Issues GitHub License GitHub commit activity (dev)

Rattle the Next Generation Data Scientist

Rattle has been in development and use for almost 20 years as a Data Mining and now Data Science toolkit for the apprentice and practising Data Scientist. The open source software and it books and papers have been used by educators, consultants, and practitioners across industry and government, to turn data into knowledge, through machine learning and artificial intelligence.

But now, it is time for a refresh. To install the new Rattle visit the Installers.

RattleNG, available from github, remains sympathetic to the original Rattle user interface, functionality, and goals, as presented in the Rattle book. However, it brings to the community a modern user interface refresh implemented in Flutter. The underlying R foundations remain firmly in place and encapsulated within a more readily extensible framework. A new edition of the Rattle book will soon be available.

Over the past 15 years we have also matured in how we deliver data science and analytics. RattleNG delivers a new perspective on scripting data science in R through templates as introduced in my more recent book, The Essentials of Data Science (https://bit.ly/essentials_data_science). The concept of templates for data science now provides the foundations for a flexible and extensible application in RattleNG.

You can also review my Desktop Data Mining Survival Guide published online by Togaware, available from (https://datamining.togaware.com).

The detailed coding documentation for our new Flutter/Dart based RattleNG is available online from the Solid Community AU.

The RattleNG rewrite is being lead by Professor Graham Williams (the original Rattle author), Chief Scientist of the Software Innovation Institute of the Australian National University. Significant contributions have also been made by Yixiang Yin.

Quick Start and Current Status 2025-01-06

You will need to install R, separate to the app itself. Visit https://www.r-project.org/ for details.

Then install RattleNG for your operating system as detailed in the installers README.

Then:

  • Start RattleNG.
  • From the Dataset tap the Dataset button and then choose Weather to load the Canberra weather dataset for 1 year. You can also load your own CSV or TXT file by tapping the Filename button instead. Other demo datasets are also available.
  • Tap the right pointing arrow to view the Roles page where you can specify the role for each variable. Defaults will have been set.
  • Notice the toggle buttons to the top right of the Dataset page: Cleanse, Unify and Partition. Hover the mouse to view the tooltips.
  • Review and understand the dataset from the Explore tab. Here you will see statistical summaries, visualisations of the data distributions, explore the missing data, check for correlations and undertake some statistical tests.
  • The data can then be tidied up through the Transform tab. Missing values can be imputed or removed, distributions can be re-scaled, variable values can be re-coded, and general cleanup of the data is supported.
  • To build an AI model, tap the Model tab and then the Tree feature and then the Build button. A tree model is built and you can view the decision tree both textually and graphically by scrolling through the pages. A rich selection of AI algorithms is available.
  • Having built a model, typically a predictive model, the Evaluation tab allows you to assess how good the model is.
  • Tap the Console tab to see the R code being run within an R session. You can even type R commands there to have them run.
  • Tap the Script tab and scroll the window to view the latest R commands run. Then tap the Export button to save the full script to script.R (no options currently to change the name or location of the saved script file).
  • From your own command line run Rscript script.R

Currently implemented features as of version 6.3.48 (2025-01-06):

  • Dataset
    • Demo
      • Weather
      • Audit
      • Protein
      • Movies
      • Sherlock
    • CSV
    • TXT
    • Roles
      • Input/Target/Risk/Ident/Ignore
  • Explore
    • Summary
    • Visual
    • Missing
    • Correlation
    • Tests
  • Transform
    • Impute
    • Rescale
    • Recode
    • Cleanup
  • Model
    • Cluster
    • Association
    • Tree
    • Forest
    • Boost
    • SVM
    • Linear
    • Neural
    • Word Cloud
  • Evaluate
    • Error Matrix
    • ROC Chart
  • Console
  • Script
    • Export

Building RattleNG from Source

Ensure you have R installed, as described in the installer README.

Install Flutter as describe in the Flutter Install Guide. In short, to install on Windows, download the flutter sdk, unzip it to your home folder, add C:\Users\<user>\flutter\bin to the PATH environment variable, and in a CMD console run flutter help.

Currently (20230918), on Azure Windows VM, flutter doctor just sits there!

Then clone the rattleng repository:

git clone https://github.com/gjwgit/rattleng
cd rattleng
flutter run

Choose your target platform when prompted.

After firing up the rattleng app, check in the Console tab to make sure R is running. You should see some R code and the console is waiting at the R prompt:

...
>

RattleNG will itself eventually check for these and prompt if they are not available.

Latest Code

RattleNG is currently under active development. To get the current app you can install flutter on your local computer, then clone the github repository, to your local disk, and from a command line change to the directory where you cloned the rattle repository (it should contain a lib sub-directory) and type the following command, changing <os> to be one of windows, macos, or linux.

flutter run -d <os>

How you can Help

RattleNG will remain an open source application, free for anyone to use in any way they like. Contributions are welcome and the simplest is to make them through pull requests on github. You can fork my repository, make your changes, and push them back as a pull request to my repository where I can review and merge into the main product.

There is plenty to do, and if you have a favourite feature of Rattle, consider either implementing the GUI in Flutter for that component, or else write a simple template R script that takes a dataset ds and any other template parameters (as <<PARAMETER>> in the script) to then do it's stuff! The <<PARAMETER>> strings are filled in by the Flutter interface. See the growing number of scripts in assets/scripts/

Suggested tasks can be found as github issues.

Rattle Resources

Some RattleNG teasers

Rattle's 5 Click to Your First AI Model

The traditional Rattle Welcome screen provides an overview of Rattle. To build your first model, simply click the Dataset button to choose Demo, which will load the rattle::weather dataset. Then click the Model tab and the Tree feature to then Build your first decision tree (an AI model).

Click the Dataset button to have options to load the data from a file, from an R package, or the demo weather dataset.

After the data is loaded we are presented with a summary.

Exploring Data Visually

All of the popular Rattle visualisations are available, modernised using ggplot and the tidyverse.

The traditional missing data plots have been updated:

The correlation plot removes repeated information from the plot:

Summarising Through WordClouds

For a text file we can gain an insight into the document through a word cloud.

Wrangling the Data

A suite of transformation functions are available in Rattle to map variables in different ways. Each transformation will create a new variable from the old variable. Here we see min_temp being transformed using the RECENTER feature and each of the transform functions available. The new variables are prefixed with an indicator of the type of transformation performed.

Building Models

A decision tree model is one of the most widely built AI models.

Visualisations are now built and presented by default, compared to Rattle of Old.

The R Console

The R console is where everything in R happens. The user can review the contents of the console and even run R commands themselves. Click the Export button to have the history of R commands from the console saved to file. Compare this Export to that of the Script page where a documented and formatted script is saved to file.

Everything Captured as Scripts

And be assured, the most important of functionalities, the Script tab's capturing of your interactions, remains a key feature of Rattle. All of your interactions with R through Rattle are captured as a documented and nicely formatted script that you can save to file and replicate your whole project simply by asking R to run the script. It is also he starting point for modifying a script to do precisely what you want, beyond what Rattle supports. No lock-in.

Libraries

app
The root widget for the Rattle app.
constants/app
App-Wide Constants for RattleNG
constants/data
App-Wide Data Constants for Rattle.
constants/keys
Keys used for widgets.
constants/markdown
Markdown files.
constants/settings
constants/spacing
Constants used for spacing different widget contexts. Copyright (C) 2024, Togaware Pty Ltd
constants/status
Constants used for the status widget.
constants/style
Constants used for different widget text styles. Copyright (C) 2024, Togaware Pty Ltd
constants/sunken_box_decoration
App-Wide sunken box for RattleNG
constants/temp_dir
Temporary directory path.
constants/wordcloud
Wordcloud specific constants for RattleNG
features/association/config
Widget to configure the ASSOCIATION tab: button.
features/association/display
Widget to display the ASSOCIATION introduction or output.
features/association/panel
ASSOCIATION tab made up of config and panel widgets. Copyright (C) 2024, Togaware Pty Ltd
features/boost/config
Widget to configure the BOOST tab: button.
features/boost/display
Widget to display the BOOST introduction and outputs.
features/boost/panel
BOOST tab made up of config and panel widgets. Copyright (C) 2024, Togaware Pty Ltd
features/boost/settings
Boost settings for different boost algorithms.
features/cleanup/config
Widget to configure the CLEANUP feature of the TRANSFORM tab.
features/cleanup/display
Widget to display the SVM introduction or output.
features/cleanup/panel
SVM tab made up of config and panel widgets. Copyright (C) 2024, Togaware Pty Ltd
features/cluster/config
Widget to configure the CLUSTER tab.
features/cluster/display
Widget to display the Cluster introduction or built tree.
features/cluster/panel
CLUSTER Tab entry into config and panel. Copyright (C) 2024, Togaware Pty Ltd
features/cluster/settings
Cluster setting for different cluster types.
features/correlation/config
Widget to configure the CORRELATION tab: button.
features/correlation/display
Widget to display the CORRELATION introduction or output.
features/correlation/panel
CORRELATION tab made up of config and panel widgets. Copyright (C) 2024, Togaware Pty Ltd
features/dataset/button
A button to choose a dataset (from file/package/demo).
features/dataset/clear_text_field
A button to clear the dataset textfield.
features/dataset/config
Widget to configure the dataset: button, path, clear, and toggles.
features/dataset/display
Dataset display with pages. Copyright (C) 2023-2024, Togaware Pty Ltd.
features/dataset/panel
Dataset tab.
A popup with choices for sourcing the dataset.
features/dataset/select_file
Choose and load a file as the source dataset.
features/dataset/select_package
Choose a dataset from a package
features/dataset/text_field
An editable text field for the dataset name.
features/dataset/toggles
Toggle buttons to process loading of the dataset.
features/evaluate/config
Widget to configure the EVALUATE tab.
features/evaluate/display
Widget to display the Evaluate introduction.
features/evaluate/panel
EVALUATE Tab Copyright (C) 2024, Togaware Pty Ltd
features/explore/panel
SVM tab made up of config and panel widgets. Copyright (C) 2024, Togaware Pty Ltd
features/forest/config
Widget to configure the FOREST tab: button.
features/forest/display
Widget to display the Forest introduction and results.
features/forest/panel
FOREST Tab Copyright (C) 2024, Togaware Pty Ltd
features/impute/config
A widget to configure the IMPUTE feature of the TRANSFORM tab.
features/impute/display
Widget to display the SVM introduction or output.
features/impute/panel
SVM tab made up of config and panel widgets. Copyright (C) 2024, Togaware Pty Ltd
features/interactive/config
Widget to configure the INTERACTIVE tab: button.
features/interactive/display
Widget to display the INTERACTIVE introduction or output.
features/interactive/panel
INTERACTIVE tab made up of config and panel widgets. Copyright (C) 2024, Togaware Pty Ltd
features/linear/config
Widget to configure the LINEAR tab: button.
features/linear/display
Widget to display the LINEAR introduction or output.
features/linear/panel
LINEAR tab made up of config and panel widgets. Copyright (C) 2024, Togaware Pty Ltd
features/missing/config
Widget to configure the MISSING tab: button.
features/missing/display
Widget to display the MISSING introduction and display output.
features/missing/panel
MISSING feature made up of config and panel widgets. Copyright (C) 2024, Togaware Pty Ltd
features/model/panel
SVM tab made up of config and panel widgets. Copyright (C) 2024, Togaware Pty Ltd
features/neural/config
Widget to configure the NEURAL tab: button.
features/neural/display
Widget to display the NEURAL introduction or output.
features/neural/panel
NEURAL tab made up of config and panel widgets. Copyright (C) 2024, Togaware Pty Ltd
features/recode/config
Widget to configure the RECODE feature of the TRANSFORM tab.
features/recode/display
Widget to display the RECODE introduction and output.
features/recode/panel
SVM tab made up of config and panel widgets. Copyright (C) 2024, Togaware Pty Ltd
features/rescale/config
Widget to configure the RESCALE feature of the TRANSFORM tab.
features/rescale/display
Widget to display the RESHAPE introduction and output.
features/rescale/panel
Rescale tab made up of config and panel widgets. Copyright (C) 2024, Togaware Pty Ltd
features/summary/config
Widget to configure the SUMMARY tab with a button to generate the summary.
features/summary/display
Widget to display the SUMMARY introduction and R summary output.
features/summary/panel
SUMMARY tab made up of config and panel widgets. Copyright (C) 2024, Togaware Pty Ltd
features/svm/config
Widget to configure the SVM tab: button.
features/svm/display
Widget to display the SVM introduction or output.
features/svm/panel
SVM tab made up of config and panel widgets. Copyright (C) 2024, Togaware Pty Ltd
features/tests/config
Widget to configure the TESTS tab: button.
features/tests/display
Widget to display the TESTS introduction or output.
features/tests/panel
TESTS tab made up of config and panel widgets. Copyright (C) 2024, Togaware Pty Ltd
features/transform/panel
SVM tab made up of config and panel widgets. Copyright (C) 2024, Togaware Pty Ltd
features/tree/config
Configuration for tree models. Copyright (C) 2024, Togaware Pty Ltd.
features/tree/ctree_pages
Return a list of pages for the ctree tree display.
features/tree/display
A Widget to display the tree introduction and then any built tree models.
features/tree/panel
TREE tab Copyright (C) 2024, Togaware Pty Ltd
features/tree/rpart_pages
Return a list of pages for the rpart tree display.
features/visual/config
Widget to configure the VISUAL tab: button.
features/visual/display
Widget to display the VISUAL introduction or output.
features/visual/panel
VISUAL tab made up of config and panel widgets. Copyright (C) 2024, Togaware Pty Ltd
features/wordcloud/config
The WordCloud configuration panel. Copyright (C) 2024, Togaware Pty Ltd
features/wordcloud/display
Display for word cloud. Copyright (C) 2024, Togaware Pty Ltd
features/wordcloud/panel
Wordcloud Display() Copyright (C) 2024, Togaware Pty Ltd
home
The main tabs-based interface for the Rattle app.
main
Shake, rattle, and roll for the data scientist.
providers/association
Providers for parameters association settings.
providers/boost
Providers for parameters boost settings.
providers/checked_r
A bool provider to check if R loaded correctly
providers/cleanse
Gloabl variable cleaning.
providers/cleanup_method
A provider of the clean up method that to delete missing from dataset.
providers/cluster
A provider for the parameters for cluster.
providers/complexity
A provider for complexity in tree model.
providers/dataset
A provider for the state of dataset and its package to be loaded
providers/dataset_loaded
capture whether the dataset has been loaded Copyright (C) 2024, Togaware Pty Ltd
providers/datatype
A provider of the path that identifies the dataset to load.
providers/evaluate
A provider for the parameters for evaluate.
providers/explore
A provider for the explore type.
providers/first_start
Gloabl variable firstStart.
providers/forest
A provider for the parameters for forest.
providers/group_by
A provider for the group by variable
providers/ignore_missing_group_by
A provider manages the state of ignore missing groupby checkbox Copyright (C) 2024, Togaware Pty Ltd
providers/imputed
A provider for the imputed constant value.
providers/interval
A provider for interval (transform/rescale)
providers/keep_in_sync
Gloabl variable keepInSync.
providers/linear
A provider for linear model.
providers/loss_matrix
A provider for the loss matrix for tree model.
providers/max_depth
A provider for the max depth for tree model.
providers/max_nwts
A provider for the MaxNWts for MODEL NNET.
providers/meta_data
Record the meta data from rattle::meta_data(ds) Copyright (C) 2024, Togaware Pty Ltd
providers/min_bucket
A provider for the min bucket for tree model.
providers/min_split
A provider for the min split for tree model.
providers/model
A provider for the model type.
providers/neural
A provider for the parameters for neural.
providers/normalise
Gloabl variable normalise.
providers/number
A provider for number (transform/recode)
providers/page_controller
A provider for page controller.
providers/partition
Gloabl variable partition.
providers/path
A provider of the path that identifies the dataset to load.
providers/priors
A provider for prior in tree model.
providers/pty
A provider of the pseudo terminal running R.
providers/reset
This file contains the provider for the reset button.
providers/roles_table_rebuild
Provider for rebuilding the roles table
providers/script
Gloabl variable status as text for the status bar.
providers/selected
A provider for the selected variable across multiple configs.
providers/selected2
A provider for the second selected variable across multiple configs.
providers/selected_row
Provider for selected row indices in a table
providers/settings
Settings provider. Copyright (C) 2024, Togaware Pty Ltd
providers/status
Gloabl variable status as text for the status bar.
providers/stderr
A provider for the stderr output from the R process.
providers/stdout
A provider for the stdout output from the R process.
providers/summary_crosstab
Riverpod provider to maintain the state of the "Include Cross Tab" checkbox.
providers/svm
A provider for the svm output from the R process.
providers/target
A provider for the target variable.
providers/terminal
A provider of the path that identifies the dataset to load.
providers/transform
A provider for the explore type.
providers/tree_algorithm
A provider for the algorithm for tree model.
providers/tree_include_missing
A provider for tree model include missing.
providers/vars/roles
Record variable selection on the dataset tab Copyright (C) 2024, Togaware Pty Ltd
providers/vars/types
Record types for each variables Copyright (C) 2024, Togaware Pty Ltd
providers/visualise
A provider manages the state of box plot notch checkbox Copyright (C) 2024, Togaware Pty Ltd
providers/wordcloud/build
record the timestamp of the build Copyright (C) 2024, Togaware Pty Ltd
providers/wordcloud/checkbox
A provider manages the state of the random order checkbox for wordcloud Copyright (C) 2024, Togaware Pty Ltd
providers/wordcloud/language
A provider to remember the language used in the wordcloud Copyright (C) 2024, Togaware Pty Ltd
providers/wordcloud/maxword
A provider manages the state of max word text field Copyright (C) 2024, Togaware Pty Ltd
providers/wordcloud/minfreq
A provider manages the state of min frequency text field Copyright (C) 2024, Togaware Pty Ltd
providers/wordcloud/punctuation
A provider manages the state of punctuation checkbox Copyright (C) 2024, Togaware Pty Ltd
providers/wordcloud/stem
A provider manages the state of stem checkbox Copyright (C) 2024, Togaware Pty Ltd
providers/wordcloud/stopword
A provider manages the state of stopword checkbox Copyright (C) 2024, Togaware Pty Ltd
r/console
A widget to run an interactive, writable, readable R console.
r/execute
R Scripts: Support for running an R command.
r/extract
Utility to extract the latest R command output.
r/extract_association
Utility to extract the ASSOCIATION RULES from R log.
r/extract_cluster
Utility to extract the latest CLUSTER from R log.
r/extract_empty
Utility placeholder to extract the latest from R stdout.
r/extract_evaluate
Utility to extract the EXECUTE from R log.
r/extract_forest
Utility to extract the latest random forest from R log.
r/extract_formula
Utility to extract the formula from the R log.
r/extract_glimpse
Utility to extract the latest glimpse output from R.
r/extract_large_factors
Utility to extract the large factors output from R.
r/extract_package
r/extract_rows_columns
Utility to extract the number of rows and columns from R.
r/extract_summary
Utility to extract the latest summary(ds) output from R.
r/extract_tree
Utility to extract the latest decision tree from R log.
r/extract_vars
Utility to extract the latest names(ds) output from R.
r/load_dataset
Load a dataset through the appropriate R script.
r/source
Support for running an R script using R source().
r/start
Initiate the R sub-process and setup the capture of its output. Copyright (C) 2023-2024, Togaware Pty Ltd.
r/strip_comments
Strip comments from an R console log string. Copyright (C) 2024, Togaware Pty Ltd
r/strip_header
Utility to strip header comments from an R script file.
r/strip_todo
Utility to strip TODO lines from an R script file.
settings/dialog
Settings dialog high-level widget. Copyright (C) 2024, Togaware Pty Ltd
settings/sections/dataset_toggles
Dataset section. Copyright (C) 2024, Togaware Pty Ltd
settings/sections/graphic_theme
Graphic theme section. Copyright (C) 2024, Togaware Pty Ltd
settings/sections/partition
Partition section. Copyright (C) 2024, Togaware Pty Ltd
settings/sections/random_seed
Random seed section. Copyright (C) 2024, Togaware Pty Ltd
settings/sections/script
Script section. Copyright (C) 2024, Togaware Pty Ltd
settings/sections/session
Session section. Copyright (C) 2024, Togaware Pty Ltd
settings/utils/handle_cancel_button
Validate partition total when pressing cancel button. Copyright (C) 2024, Togaware Pty Ltd
settings/utils/invalid_partition_warning
Display a warning if the partition total is invalid when pressing cancel. Copyright (C) 2024, Togaware Pty Ltd
settings/utils/out_of_range_warning
Display a warning if a value is out of the valid range (0-100). Copyright (C) 2024, Togaware Pty Ltd
settings/utils/save_image_viewer_app
Save the image viewer app setting to reuse it. Copyright (C) 2024, Togaware Pty Ltd
settings/widgets/image_viewer_text_field
Image viewer text field. Copyright (C) 2024, Togaware Pty Ltd
settings/widgets/partition_controls
Partition controls. Copyright (C) 2024, Togaware Pty Ltd
settings/widgets/setting_number_field
Number field. Copyright (C) 2024, Togaware Pty Ltd
settings/widgets/toggle_row
Toggle row (switch with label). Copyright (C) 2024, Togaware Pty Ltd
tabs/debug/rattle_state_text
A text widget showing the current rattle state.
tabs/debug/stderr_text
A text widget showing the stderr from the R process.
tabs/debug/stdout_text
A text widget showing the stdout from the R process.
tabs/debug/tab
Debug tab for home page to view stdout and stderr side-by-side.
tabs/debug/toggles
Add toggles to the debug page to select what we look at.
tabs/explore
The Explore tab for publishing on the app home page. Copyright (C) 2023-2024, Togaware Pty Ltd.
tabs/model
Model tab for home page. Copyright (C) 2023, Togaware Pty Ltd.
tabs/script/info
A SCRIPT info with a save button widget for the SCRIPT tab page.
tabs/script/save_button
A button to save the script to file.
tabs/script/tab
Script tab for home page where the R script is captured.
tabs/script/text
An R script text widget for the SCRIPT tab page.
tabs/transform
The Transform tab for transforming our dataset. Copyright (C) 2024, Togaware Pty Ltd.
utils/check_file_exists
Check if the path to a file exists and popup if not. Copyright (C) 2024, Togaware Pty Ltd
utils/check_function_executed
Check if the function has been executed. Copyright (C) 2024, Togaware Pty Ltd
utils/clean_string
General cleanup of strings from the R console. Copyright (C) 2024, Togaware Pty Ltd
utils/compare_varsions
Compare version s in the form of major.minor.patch. Copyright (C) 2025, Togaware Pty Ltd
utils/copy_asset_to_tempdir
Copy asset (e.g., weather.csv) to tempDir. Copyright (C) 2024, Togaware Pty Ltd
utils/count_lines
Count the number of lines (\n) in a String.
utils/debug_text
Support utility for printing debug messages. Copyright (C) 2024, Togaware Pty Ltd
utils/from_package
utils/get_catergoric
Copyright (C) 2024, Togaware Pty Ltd

Licensed under the GNU General Public License, Version 3 (the "License");

License: https://www.gnu.org/licenses/gpl-3.0.en.html

Authors:

utils/get_ignored
Query the roles provider to return the list of ignored variables. Copyright (C) 2024, Togaware Pty Ltd
utils/get_inputs
Return those veriables with an INPUT role. Copyright (C) 2024, Togaware Pty Ltd
utils/get_missing
Copyright (C) 2024, Togaware Pty Ltd

Licensed under the GNU General Public License, Version 3 (the "License");

License: https://www.gnu.org/licenses/gpl-3.0.en.html

Authors:

utils/get_numeric
get the numeric variables that are not ignored. Copyright (C) 2024, Togaware Pty Ltd
utils/get_obs_missing
Copyright (C) 2024, Togaware Pty Ltd

Licensed under the GNU General Public License, Version 3 (the "License");

License: https://www.gnu.org/licenses/gpl-3.0.en.html

Authors:

utils/get_risk
Copyright (C) 2024, Togaware Pty Ltd

Licensed under the GNU General Public License, Version 3 (the "License");

License: https://www.gnu.org/licenses/gpl-3.0.en.html

Authors:

utils/get_target
Identify a target variable. Copyright (C) 2024, Togaware Pty Ltd
utils/get_unique_columns
Obtain list of variables that have a unique value. Copyright (C) 2024, Togaware Pty Ltd
utils/get_vars
Query the roles provider for the list of variables in play. Copyright (C) 2024, Togaware Pty Ltd
utils/image_exists
Check if the path to an image file exists. Copyright (C) 2024, Togaware Pty Ltd
utils/is_desktop
Check if we are running a desktop (and not a browser).
utils/is_numeric
Check for a numeric type (dbl or int). Copyright (C) 2024, Togaware Pty Ltd
utils/is_production
Is this a production build? Copyright (C) 2024, Togaware Pty Ltd
utils/load_asset
Load data from the assets folder.
utils/reset
Copyright (C) 2024, Togaware Pty Ltd
utils/select_file
Promt the user to select a name and location to save a file. Copyright (C) 2024, Togaware Pty Ltd
utils/set_status
A conveinence function to set the status provider.
utils/show_dataset_alert_dialog
An alert popup warning about the new dataset and reset.
utils/show_error
A dialog to show an error message with a customizable OK button action. Copyright (C) 2024, Togaware Pty Ltd
utils/show_image_dialog
Show image dialog with Uint8List bytes. Copyright (C) 2023-2024, Togaware Pty Ltd.
utils/show_markdown_file
Render a markdown document as a widget.
utils/show_markdown_file_2
Render two markdown documents as a widget.
utils/show_markdown_file_image
Render a markdown document as a widget with an optional SVG asset.
utils/show_ok
A dialog to show a message and only allow OK. Copyright (C) 2024, Togaware Pty Ltd
utils/show_settings_dialog
Show the settings dialog. Copyright (C) 2024, Togaware Pty Ltd
utils/show_under_construction
An "Under Construction" dialog to popup as required. Copyright (C) 2024, Togaware Pty Ltd
utils/timestamp
Generate the current timestamp.
utils/to_r_vector
Converts a list of strings into an R vector format string Copyright (C) 2024, Togaware Pty Ltd
utils/truncate
Truncate a string replacing the truncated with three dots.
utils/update_meta_data
Scrape the latest json from rattle::meta_data and update the provider. Copyright (C) 2024, Togaware Pty Ltd
utils/update_roles_provider
Update variable state in flutter based on its state in R Copyright (C) 2024, Togaware Pty Ltd
utils/update_script
Update the script provider to capture R code to replicate the project.
utils/variable_chooser
Dropdown widget to select a variable.
widgets/activity_button
An ElevatedButton implementing Activity/Build initiation for Rattle. Copyright (C) 2024, Togaware Pty Ltd
widgets/choice_chip_tip
Chip choice widget used across the app. Copyright (C) 2024, Togaware Pty Ltd
widgets/close_dialog
A dialog to prompte user on closing app with SAVE and CANCEL options
widgets/image_page
A widget to build the a common single image based pages. Copyright (C) 2024, Togaware Pty Ltd
widgets/labelled_checkbox
A widget for a labelled checkbox with a tooltip updating the provider. Copyright (C) 2024, Togaware Pty Ltd
widgets/multi_image_page
A widget to build the common image based pages. Copyright (C) 2024, Togaware Pty Ltd
widgets/no_image_page
An image placeholder page. Copyright (C) 2025, Togaware Pty Ltd
widgets/number_field
A numerical text input field. Copyright (C) 2024, Togaware Pty Ltd
widgets/page_indicator
Copyright (C) 2024, Togaware Pty Ltd

Licensed under the GNU General Public License, Version 3 (the "License");

License: https://www.gnu.org/licenses/gpl-3.0.en.html

Authors: Kevin Wang

widgets/page_viewer
A page navigation widget. Copyright (C) 2024, Togaware Pty Ltd
widgets/pages
A widget to handle multiple pages for the display widget. Copyright (C) 2024, Togaware Pty Ltd
widgets/repeat_button
A Button that repeats the onPressed action when held down. Copyright (C) 2024, Togaware Pty Ltd
widgets/status_bar
The app's status bar.
widgets/text_page
Helper widget to build the common text based pages. Copyright (C) 2024, Togaware Pty Ltd
widgets/vector_number_field
An integer vector input field. Copyright (C) 2024, Togaware Pty Ltd