Module: Ruflet::UI::ControlMethods

Includes:
CupertinoControlMethods, MaterialControlMethods
Included in:
DSL::App, WidgetBuilder
Defined in:
lib/ruflet_ui/ruflet/ui/control_methods.rb

Instance Method Summary collapse

Methods included from CupertinoControlMethods

#cupertino_action_sheet, #cupertino_alert_dialog, #cupertino_button, #cupertino_dialog_action, #cupertino_filled_button, #cupertino_navigation_bar, #cupertino_slider, #cupertino_switch, #cupertino_text_field, #cupertinoactionsheet, #cupertinoalertdialog, #cupertinobutton, #cupertinodialogaction, #cupertinofilledbutton, #cupertinonavigationbar, #cupertinoslider, #cupertinoswitch, #cupertinotextfield

Methods included from MaterialControlMethods

#alert_dialog, #alertdialog, #app_bar, #appbar, #bar_chart, #bar_chart_group, #bar_chart_rod, #bar_chart_rod_stack_item, #barchart, #barchartgroup, #barchartrod, #barchartrodstackitem, #bottom_sheet, #bottomsheet, #button, #candlestick_chart, #candlestick_chart_spot, #candlestickchart, #candlestickchartspot, #center, #chart_axis, #chart_axis_label, #chartaxis, #chartaxislabel, #checkbox, #clipboard, #column, #container, #drag_target, #draggable, #dragtarget, #elevated_button, #fab, #filled_button, #filledbutton, #floating_action_button, #floatingactionbutton, #gesture_detector, #gesturedetector, #grid_view, #gridview, #icon, #icon_button, #iconbutton, #image, #line_chart, #line_chart_data, #line_chart_data_point, #linechart, #linechartdata, #linechartdatapoint, #markdown, #navigation_bar, #navigation_bar_destination, #navigationbar, #navigationbardestination, #pie_chart, #pie_chart_section, #piechart, #piechartsection, #radar_chart, #radar_chart_title, #radar_data_set, #radar_data_set_entry, #radarchart, #radarcharttitle, #radardataset, #radardatasetentry, #radio, #radio_group, #radiogroup, #row, #scatter_chart, #scatter_chart_spot, #scatterchart, #scatterchartspot, #snack_bar, #snackbar, #stack, #tab, #tab_bar, #tab_bar_view, #tabbar, #tabbarview, #tabs, #text, #text_button, #text_field, #textbutton, #textfield, #url_launcher, #view, #web_view, #webview

Instance Method Details

#control(type, **props, &block) ⇒ Object



12
# File 'lib/ruflet_ui/ruflet/ui/control_methods.rb', line 12

def control(type, **props, &block) = build_widget(type, **props, &block)

#service(type, **props, &block) ⇒ Object



14
# File 'lib/ruflet_ui/ruflet/ui/control_methods.rb', line 14

def service(type, **props, &block) = build_service(type, **props, &block)

#widget(type, **props, &block) ⇒ Object



13
# File 'lib/ruflet_ui/ruflet/ui/control_methods.rb', line 13

def widget(type, **props, &block) = build_widget(type, **props, &block)